TRX
POST
GET
Last updated on January 1, 1970
2 min read
Method /wallet/getproposalbyid undefined ()
connect with REST protocol
/wallet/getproposalbyid
Queries proposal based on ID and returns proposal details.
Parameters
id
- int32
visible
- boolean
Request
curl --location --request POST 'https://trx.getblock.io/wallet/getproposalbyid' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"id": 80, "visible": true}'
Response
{
"approvals": [
"TN2W4cc7a4dsYyTLiLMWa9m7jVpdLjGvYs",
"TGJBjL8wmRVyRStkghnhcVNYYgn6Yjno6X",
"TDpt9adA6QidL1B1sy3D8NC717C6L5JxFo",
"TKSXDA8HfE9E1y39RczVQ1ZascUEtaSToF",
"TGyrSc9ZmTdbYziuk1SKEmdtCdETafewJ9",
"TVFKwzE8qeETLaZEHMx2tjEsdnujAgAWaA",
"TJvaAeFb8Lykt9RQcVyyTFN2iDvGMuyD4M",
"TNaJADoq1u2atryP1ZzwvmEE4ZBELXfMqw",
"TCEo1hMAdaJrQmvnGTCcGT2LqrGU4N7Jqf"
],
"create_time": 1670906025000,
"expiration_time": 1671170400000,
"parameters": [
{
"key": 68,
"value": 1000000
}
],
"proposal_id": 80,
"proposer_address": "TGJBjL8wmRVyRStkghnhcVNYYgn6Yjno6X",
"state": "APPROVED"
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }