SDK

Every developer could get access to re:doubt events using simple API available on GitHub - https://github.com/re-doubt/redoubt-bot-python-sdk.

https://pypi.org/project/redoubt-agent/

To run SDK one need to request API key from @RedoubtAPIBot.

Data model for events:

  • event_id

  • event_scope

  • event_target

  • finding_type

  • event_type

  • severity

  • data - custom JSON data, specific for each event

  • time

Supported Events

ScopeEvent typeSeverityTargetData

DEX

NewPool

Medium

DEX title

{ "address": "EQDUapdy...cmAPbntWEmm", "tvl_ton": 2199, "pool_name": "TGR_KINGY" }

DEX

MissingPool

High

DEX title

{ "address": "EQDUapdy...cmAPbntWEmm", "pool_name": "TGR_KINGY" }

DEX

PoolChanged

Low, Medium, High (depends on the changes)

DEX title

{ "address": "EQDUapdy...cmAPbntWEmm", "pool_name": "TGR_KINGY" "tvl_before_ton": 12221, "tvl_after_ton": 12001, "tvl_delta_percent": 10.22, }

Jetton

Transfer

Medium

Jetton master address

{ "master": "EQ...",

"amount":"1212",

"query_id":121212,

"source_wallet":"EQ...",

"source_owner":"EQ...",

"destination_owner":"EQ..." }

Jetton

Mint

Medium

Jetton master address

{ "master": "EQ...",

"amount":"1212",

"query_id":121212,

"destination_wallet":"EQ...",

"destination_owner":"EQ...",

"minter":"EQ...", }

Jetton

Burn

Medium

Jetton master address

{ "master": "EQ...",

"amount":"1212",

"query_id":121212,

"destination_wallet":"EQ...",

"destination_owner":"EQ...",

}

NFT

Transfer

Medium

NFT collection address

{ "collection": "EQ...",

"name": "EQ...",

"nft_item":"EQ...",

"new_owner":"EQ...",

"previous_owner":"EQ...",

}

NFT

Sale

Medium

NFT collection address

{ "collection": "EQ...",

"name": "EQ...",

"nft_item":"EQ...",

"new_owner":"EQ...",

"previous_owner":"EQ...",

"price": 1212.33, # in TON

"marketplace": "EQ..."

}

NFT

NewCollection

Medium

NFT collection address

{ "collection": "EQ...",

"name": "Collection ...",

"image":"https://...",

"image_data":"hD2a..."

"metadata_url":"https://...",

"owner":"EQ...",

}

NFT

NewItem

Medium

NFT item

{

"nft_item":"EQ...", "collection": "EQ...",

"name": "Collection ...",

"image":"https://...",

"image_data":"hD2a..."

"metadata_url":"https://...",

"owner":"EQ...",

}

DEX

Swap

Medium

Platform name (dedust, megaton, ston.fi)

{ "pool": "EQ...",

"asset_in": "EQ...",

"asset_out":"EQ...",

"amount_in":"12121",

"amount_out":"1212",

"swap_user":"EQ..."

}

TON

Transfer (only TON transfers with amount > 1000 TON)

Medium

Message recipient address

{ "amount": 12321, # in TON "source": "EQ...", "destination": "EQ...", "msg_hash": "Kbn..." }

TON

Comment

Medium

Message sender address

{ "amount": 212.222 # in TON "source": "EQ...",

"destination": "EQ...", "msg_hash": "Kbn...", "comment": "Auction proceeds for ..." }

Last updated