TRON
wallet/getapprovedlistКредиты: 10
Returns the addresses that signed a transaction.
Параметры
| Имя | Тип | Описание |
|---|---|---|
| raw_data | Object | The transaction raw_data (contract, ref_block_*, expiration, ...). |
| signature | string[] | Signatures, hex strings. (необязательно) |
| visible | boolean | true = base58 addresses (in the request and the response); false (default) = hex addresses. (необязательно) |
Результат
Тип
Object
Object with result (parsing result with code and message on failure), approved_list (addresses of the signers; absent when there are none) and transaction. Any invalid or duplicate signature fails the whole request.
Примеры кода
curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/wallet/getapprovedlist' \
-X POST \
-H 'content-type: application/json' \
-d '{
"raw_data": {},
"signature": [],
"visible": true
}'