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_token

  • from_addr: string - from address

  • to_addr: string - to address

  • token: Object - token info for more info

Send NFT

  • type: string - send_nft

  • from_addr: string - from address

  • to_addr: string - to address

  • nft: Object - nft info

Approve Token

  • type: string - approve_token

  • owner: 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_nft

  • owner: 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_collection

  • owner: 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_approval

  • owner: 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_approval

  • owner: 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_approval

  • owner: 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_tx

  • from_addr: string - from address

Deploy Contract

  • type: string - deploy_contract

  • from_addr: string - from address

Call

  • type: string - call

  • from_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