API Reference
Commands (Sent to Iframe)
ADD_WALLETS
Adds wallets to the whitelist.- String:
"ABCD"or"ABCD:Label" - Object:
{ address: "ABCD", label: "Label" }
CLEAR_WALLETS
Removes all iframe-added wallets from the whitelist.GET_WALLETS
Retrieves current whitelist.Responses (Received from Iframe)
| Response Type | Description |
|---|---|
IFRAME_READY | Sent when iframe is loaded and ready for communication |
WALLETS_ADDED | Confirms wallets were added successfully |
WALLETS_CLEARED | Confirms iframe wallets were cleared |
CURRENT_WALLETS | Returns current whitelist data |
WHITELIST_TRADING_STATS | Real-time trading statistics for whitelisted addresses |
SOL_PRICE_UPDATE | Real-time SOL price updates |
WHITELIST_TRADE | Individual trade events from whitelisted addresses |
TOKEN_PRICE_UPDATE | Token price updates from all trading activity |
