getapprovedlist - Tron

getapprovedlist. Returns the list of approving addresses for a pending multi-signature transaction.

getapprovedlist - tron [Value: 20CU]
Returns the list of approving addresses for a pending multi-signature transaction.
Use cases

Use cases

  • Track signature collection progress for a multi-sig transaction before broadcasting
Constraints

Constraints

  • The transaction must already contain at least one signature to return meaningful results
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request POST \
     --url https://lb.drpc.live/tron/{API-KEY}/wallet/getapprovedlist \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{
  "signature": [
    "50a252d1ffd1cf902fe4f7a3986697adf26a37c8193a86ce9ccc76adf5c05d26166c5e90d470a13708c48a76a766d2b2c68ffd733451ff1315040fb526e7ccde1b"
  ],
  "raw_data": {
    "data": "74657374",
    "contract": [
      {
        "parameter": {
          "value": {
            "resource": "ENERGY",
            "frozen_balance": 5000000,
            "owner_address": "TUoHaVjx7n5xz8LwPRDckgFrDWhMhuSuJM"
          },
          "type_url": "type.googleapis.com/protocol.FreezeBalanceV2Contract"
        },
        "type": "FreezeBalanceV2Contract"
      }
    ],
    "ref_block_bytes": "dd1a",
    "ref_block_hash": "51a43e706d9ac33a",
    "expiration": 1767844938000,
    "timestamp": 1767844878000
  }
}'
Copy
Response
200
{
    "result": {
        "code": "OTHER_ERROR",
        "message": "Invalid transaction: no valid contract"
    },
    "transaction": {
        "transaction": {
            "raw_data": {
                "ref_block_bytes": "dd1a",
                "ref_block_hash": "51a43e706d9ac33a",
                "expiration": 1767844938000,
                "data": "74657374",
                "timestamp": 1767844878000,
                "contract": []
            },
            "signature": [
                "50a252d1ffd1cf902fe4f7a3986697adf26a37c8193a86ce9ccc76adf5c05d26166c5e90d470a13708c48a76a766d2b2c68ffd733451ff1315040fb526e7ccde1b"
            ],
            "raw_data_hex": "0a02dd1a220851a43e706d9ac33a40908294deb93352047465737470b0ad90deb933",
            "txID": "41c6f329a4126a23801e5915e1834a61fad0cf708df3f0d596950b759d113c58"
        },
        "txid": "41c6f329a4126a23801e5915e1834a61fad0cf708df3f0d596950b759d113c58",
        "result": {
            "result": true
        }
    }
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersobject
object
signaturearray_of_strings
The list of hex-encoded signatures over the transaction hash, one entry per required signing key.
visibleboolean
Set to true to format addresses in Base58; set to false for hex format. (Default: false)
raw_dataobject
The unsigned transaction body containing the contract instruction and blockchain reference data.
object
datastring
Hex-encoded optional memo/note attached to the transaction (up to 512 bytes).
contractarray_of_objects
The list of contract instructions to be executed by this transaction.
object
parameterobject
The typed payload describing the specific contract call being made.
object
valueobject
The decoded fields of the contract — here, a Stake 2.0 freeze request.
object
resourcestring
The resource type being staked for, either BANDWIDTH or ENERGY.
frozen_balanceinteger
The amount of TRX, in sun, to freeze (stake) for the specified resource.
owner_addressstring
The address performing the freeze, in base58 format.
type_urlstring
The fully qualified protobuf type identifier describing which contract schema `value` should be decoded with.
typestring
The human-readable name of the contract type being executed (here, FreezeBalanceV2Contract).
ref_block_bytesstring
The last two bytes of the reference block number, used for transaction expiration and replay protection.
ref_block_hashstring
The last eight bytes of the reference block's hash, paired with ref_block_bytes for replay protection.
expirationinteger
Unix timestamp, in ms, after which this transaction is no longer valid and will be rejected by the network.
timestampinteger
Unix timestamp, in ms, marking when the transaction was created/signed by the client.

Response

200
Returns the list of approving addresses for a pending multi-signature transaction.

Response params

object
resultobject
The outcome of attempting to broadcast this transaction to the network.
object
codestring
A machine-readable error code identifying why the broadcast failed (e.g. OTHER_ERROR); absent or SUCCESS when the transaction is accepted.
messagestring
A human-readable explanation of the failure, sometimes returned base64/hex-encoded depending on the client.
transactionobject
An echo of the submitted transaction along with node-level processing details, returned for debugging the failed broadcast.
object
resultobject
Low-level acceptance status of the transaction at the node, separate from the higher-level broadcast result above.
object
resultboolean
Whether the node's internal validation step for this transaction passed.
txidstring
The transaction hash computed by the node for the submitted transaction.
transactionobject
The full transaction object as received and echoed back by the node.
object
signaturearray_of_strings
The list of hex-encoded signatures submitted with the transaction.
txIDstring
The unique transaction hash (transaction ID), computed as the SHA256 of raw_data.
raw_dataobject
The unsigned transaction body as parsed by the node; here the contract list is empty, reflecting the decode failure that triggered the error.
object
datastring
Hex-encoded optional memo/note attached to the transaction.
contractarray_of_objects
The list of contract instructions recognized by the node; empty here because no valid contract could be parsed.
ref_block_bytesstring
The last two bytes of the reference block number, used for transaction expiration and replay protection.
ref_block_hashstring
The last eight bytes of the reference block's hash, paired with ref_block_bytes for replay protection.
expirationinteger
Unix timestamp, in ms, after which this transaction is no longer valid and will be rejected by the network.
timestampinteger
Unix timestamp, in ms, marking when the transaction was created/signed by the client.
raw_data_hexstring
The hex-encoded serialized bytes of raw_data, used as the actual payload that was signed and broadcast.