REST APIWallet & TransactWallet

GET

Retrieves outgoing and incoming resource delegation information for a TRON wallet

Path Params

  • coin string required
    Coin or token identifier (e.g. trx, ttrx)
  • walletId string required
    Wallet ID to retrieve active delegations for

Query Params

  • type string enum
    Filter by delegation direction: 'outgoing' for delegations from this address, 'incoming' for delegations to this address; omit to fetch both
    outgoingincoming
  • resource string
    Filter by resource type (case-insensitive: ENERGY, energy, BANDWIDTH, bandwidth)
  • limit string number
    Maximum number of results to return
  • nextBatchPrevId string
    Pagination cursor from previous response

Responses

200
OK

Response Body

object

  • address string required
  • coin string required
  • delegations object required
    delegations object
    • outgoing array of objects required
      outgoing object
      • id string required
      • coin string required
      • ownerAddress string required
      • receiverAddress string required
      • resource string enum required
        ENERGYBANDWIDTH
      • balance string required
      • updatedAt string required
    • incoming array of objects required
      incoming object
      • id string required
      • coin string required
      • ownerAddress string required
      • receiverAddress string required
      • resource string enum required
        ENERGYBANDWIDTH
      • balance string required
      • updatedAt string required
    • nextBatchPrevId string
400
Bad Request

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
500
Internal Server Error

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id