POSTGetSignWeight

Tron Mainnethttps://tron-mainnet.nodit.io/wallet/getsignweight

Query the current weight of signatures collected on a transaction. Used to inspect multi-signature progress before broadcasting.

Request Body
txIDstring

Transaction ID (hex).

visibleboolean

If true, addresses in the request are base58 strings; otherwise hex.

raw_dataobjectrequired

The transaction raw_data (contract, ref_block_*, expiration, etc.).

raw_data_hexstring

Hex-encoded protobuf of raw_data.

signaturestring[]required

Currently collected signatures (hex, 65 bytes each). At least one required.

Responses
permissionobject

The active/owner Permission this transaction is signed against (keys, threshold, etc.).

approved_liststring[]

Addresses that have signed (hex by default; base58 when visible=true).

current_weightinteger (int64)

Sum of weights of approved_list under the permission.

codestring (enum)

Aggregate verdict: ENOUGH_PERMISSION = current_weight ≥ threshold (ready to broadcast); NOT_ENOUGH_PERMISSION = more signatures needed; other codes = error.

messagestring

Hex-encoded error message when code is not ENOUGH/NOT_ENOUGH.

transactionobject

Echo of the input transaction (TransactionExtention).

X-API-KEY
RequestCU20
cURL
curl -X POST "https://tron-mainnet.nodit.io/wallet/getsignweight" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "txID": "6db783c4142b3749a4b598db4644155455c9206e2eca4b31efbd48e46773d9d5",
    "visible": false,
    "raw_data_hex": "0a02f69b22087d4a3b02495f232040b888e6eaa5335a67080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a15411320a6fb4dcd4ff8e91392a8cb98378633cf7dd81215414c8967080d86f3d0e1352a42f9213c7b9dd03b0f18c0843d7080cae2eaa533",
    "signature": [
      "2a3743f40d53a124c1597256b155bf286bd8874afe6997ec0a7e63405dea78cd914d9aa9adb8f84dc8d1ef4b1827dd9e8960a40a4ad11e619d06e9601e8b27c000"
    ]
  }'
Response
Example · 200
{
  "permission": {},
  "approved_list": [
    "string"
  ],
  "current_weight": 0,
  "result": {
    "code": "ENOUGH_PERMISSION",
    "message": "string"
  },
  "transaction": {}
}