getpaginatedproposallist - Tron

getpaginatedproposallist. Returns a paginated list of network parameter proposals using offset and limit parameters.

getpaginatedproposallist - tron [Value: 20CU]
Returns a paginated list of network parameter proposals using offset and limit parameters.
Use cases

Use cases

  • Page through the full proposal history in a governance UI
Constraints

Constraints

  • Very large limit values may be capped by the node
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/getpaginatedproposallist \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"offset": 1, "limit": 1}'
Copy
Response
200
{
  "proposals": [
    {
      "proposal_id": 1,
      "proposer_address": "41217179d498883cdbda5699402905d1feb258796c",
      "parameters": [
        { "key": 9,  "value": 1 },
        { "key": 10, "value": 1 }
      ],
      "expiration_time": 1572597600000,
      "create_time": 1572596523000,
      "approvals": [
        "41217179d498883cdbda5699402905d1feb258796c"
        /* ... other SRs */
      ],
      "state": "APPROVED"
    }
  ]
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersobject
object
offsetinteger
[Required for GET] Number of proposals to skip
limitinteger
[Required for GET] Maximum number of proposals to return
visibleboolean
Address format

Response

200
Returns a paginated list of network parameter proposals using offset and limit parameters.

Response params

object
proposalsarray_of_objects
The list of chain-parameter proposals matching the query.
object
proposal_idinteger
The numeric identifier of this proposal.
proposer_addressstring
The address of the witness who created this proposal, in hex format.
parametersarray_of_objects
The list of chain parameters this proposal seeks to change, each identified by a numeric key and its proposed value.
object
keyinteger
The numeric identifier of the chain parameter being changed.
valueinteger
The proposed new value for this chain parameter.
expiration_timeinteger
Unix timestamp, in ms, after which this proposal is no longer eligible to take effect.
create_timeinteger
Unix timestamp, in ms, at which this proposal was created.
approvalsarray_of_strings
The list of witness addresses that have approved this proposal so far.
statestring
The current status of this proposal in its lifecycle (e.g. PENDING, APPROVED, DISAPPROVED, CANCELED).