ActionObject
For the Explain Tx API, we currently support the following actions.
Send Token
Send NFT
Approve Token
Approve NFT
Approve NFT Collection
Revoke Token Approval
Revoke NFT Collection Approval
Revoke NFT Approval
Cancel Tx
Deploy Contract
Call (If do not match the above types, will fallback to the call)
Send Token
type: string -
send_tokenfrom_addr: string - from address
to_addr: string - to address
token: Object - token info for more info
Send NFT
type: string -
send_nftfrom_addr: string - from address
to_addr: string - to address
nft: Object - nft info
Approve Token
type: string -
approve_tokenowner: string - owner address
spender: Object - spender info
id: string - spender address
protocol: Object
id: string - protocol id
name: string - protocol name
logo_url: string - protocol logo url
token: Object - token info for more info
Approve NFT
type: string -
approve_nftowner: string - owner address
spender: Object - spender info
id: string - spender address
protocol: Object
id: string - protocol id
name: string - protocol name
logo_url: string - protocol logo url
nft: Object - nft info
Approve NFT Collection
type: string -
approve_nft_collectionowner: string - owner address
spender: Object - spender info
id: string - spender address
protocol: Object
id: string - protocol id
name: string - protocol name
logo_url: string - protocol logo url
collection: Object - collection info
Revoke Token Approval
type: string -
revoke_token_approvalowner: string - owner address
spender: Object - spender info
id: string - spender address
protocol: Object
id: string - protocol id
name: string - protocol name
logo_url: string - protocol logo url
token: Object - token info for more info
Revoke NFT Approval
type: string -
revoke_nft_approvalowner: string - owner address
spender: Object - spender info
id: string - spender address
protocol: Object
id: string - protocol id
name: string - protocol name
logo_url: string - protocol logo url
nft: Object - nft info
Revoke NFT Collection Approval
type: string -
revoke_nft_collection_approvalowner: string - owner address
spender: Object - spender info
id: string - spender address
protocol: Object
id: string - protocol id
name: string - protocol name
logo_url: string - protocol logo url
collection: Object - collection info
Cancel Tx
type: string -
cancel_txfrom_addr: string - from address
Deploy Contract
type: string -
deploy_contractfrom_addr: string - from address
Call
type: string -
callfrom_addr: string - from address
to_addr: string - to address
contract: Object - contract info
id: string - contract info
protocol: Object
logo_url: string - protocol logo url
name: string - protocol name
id: string - protocol id
Last updated