DeBank Cloud
  • Open API
    • Welcome
    • API Reference
      • Chain
      • Protocol
      • Pool
      • Token
      • User
      • Collection
      • Wallet
    • API Models
      • PortfolioItemObject
      • ActionObject
      • TransactionObject
    • Error Code
      • Pre exec error code
    • ChangeLog
    • Auxiliary Feature
      • Units Usage
  • Official Account
    • Business Introduction
    • Service Operation Instructions
    • API Reference
      • Broadcast messages
      • User messages
    • Quest
      • REST API Action Integration Spec
  • DeBank Connect
    • Integration
    • ChangeLog
    • API
      • User Base Data
      • User Chain Data
      • User Social Data
  • Terms Of Service
Powered by GitBook
On this page
  • Send Token
  • Send NFT
  • Approve Token
  • Approve NFT
  • Approve NFT Collection
  • Revoke Token Approval
  • Revoke NFT Approval
  • Revoke NFT Collection Approval
  • Cancel Tx
  • Deploy Contract
  • Call
  1. Open API
  2. API Models

ActionObject

PreviousPortfolioItemObjectNextTransactionObject

Last updated 2 years ago

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

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

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

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

token: Object - token info

token: Object - token info

for more info
for more info
for more info