Polluxchain
  1. Proposals
Polluxchain
  • Background
  • API key
    • Rate Limits
    • Security Settings
  • Full Node HTTP API
    • Address Utilities
      • ValidateAddress
    • Transactions
      • BroadcastTransaction
      • BroadcastHex
      • CreateTransaction
    • Accounts
      • CreateAccount
      • GetAccount
      • UpdateAccount
      • AccountPermissionUpdate
      • GetAccountBalance
    • Account Resources
      • GetAccountResource
      • GetAccountNet
      • FreezeBalance
      • UnfreezeBalanceV2
      • CancelAllUnfreezeV2
      • DelegateResource
      • UnDelegateResource
      • WithdrawExpireUnfreeze
      • GetAvailableUnfreezeCount
      • GetCanWithdrawUnfreezeAmount
      • GetCanDelegatedMaxSize
      • GetDelegatedResourceV2
      • GetDelegatedResourceAccountIndexV2
    • Query The Network
      • GetBlock
      • GetBlockByNum
      • GetBlockById
      • GetBlockByLatestNum
      • GetBlockByLimitNext
      • GetNowBlock
      • GetTransactionById
      • GetTransactionInfoById
      • GetTransactionInfoByBlockNum
      • ListNodes
      • GetNodeInfo
      • GetChainParameters
      • GetBlockBalance
      • GetEnergyPrices
      • GetBandwidthPrices
      • GetBurnTRX
      • GetApprovedList
    • Smart Contract
      • GetContract
      • GetContractInfo
      • TriggerSmartContract
      • TriggerConstantContract
      • DeployContract
      • UpdateSetting
      • UpdateEnergyLimit
      • ClearAbi
      • EstimateEnergy
    • Voting & SRs
      • ListWitnesses
      • CreateWitness
      • UpdateWitness
      • GetBrokerage
      • UpdateBrokerage
      • VoteWitnessAccount
      • GetReward
      • WithdrawBalance
      • GetNextMaintenanceTime
    • Proposals
      • ListProposals
        GET
      • GetProposalById
        POST
      • ProposalCreate
        POST
      • ProposalApprove
        POST
      • ProposalDelete
        POST
    • Pending pool
      • GetTransactionListFromPending
      • GetTransactionFromPending
      • GetPendingSize
  • Full Node Solidity HTTP API
    • Transactions
      • GetTransactionById
      • GetTransactionInfoById
      • GetTransactionInfoByBlockNum
      • GetTransactionCountByBlockNum
    • Blocks
      • GetBlock
      • GetNowBlock
      • GetBlockByNum
      • GetBlockById
      • GetBlockByLatestNum
      • GetBlockByLimitNext
    • Account Resources
      • GetAccount
      • GetDelegatedResource
      • GetDelegatedResourceAccountIndex
      • GetCanDelegatedMaxSize
      • GetCanWithdrawUnfreezeAmount
      • GetDelegatedResourceAccountIndexV2
      • GetAvailableUnfreezeCount
    • Node & Chain
      • GetNodeInfo
      • GetBurnPOX
    • Smart Contracts
      • TriggerConstantContract
      • EstimateEnergy
    • Voting & SRs
      • ListWitnesses
      • GetReward
      • GetBrokerage
  • Full Node JSON-RPC API
    • Overview
    • buildTransaction
    • eth
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_coinbase
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionReceipt
      • eth_getWork
      • eth_protocolVersion
      • eth_syncing
      • eth_newFilter
      • eth_newBlockFilter
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_uninstallFilter
      • eth_getLogs
    • net
      • net_listening
      • net_peerCount
      • net_version
    • web3
      • web3_clientVersion
      • web3_sha3
  • PolluxWeb
    • address
    • createAccount
    • createRandom
    • fromAscii
    • fromDecimal
    • fromMnemonic
    • fromUtf8
    • getEventByTransactionID
    • getEventResult
    • isAddress
    • isConnected
    • setHeader
    • setDefaultBlock
    • setPrivateKey
    • setAddress
    • sha3
    • toAscii
    • toBigNumber
    • toDecimal
    • toHex
    • toRAM
    • toUtf8
    • BigNumber
    • polluxweb.trx
      • getAccount
      • getAccountResources
      • getApprovedList
      • getAvailableUnfreezeCount
      • getBalance
      • getBandwidth
      • getBlock
      • getBlockByHash
      • getBlockByNumber
      • getBlockRange
      • getBlockTransactionCount
      • getBrokerage
      • getCanDelegatedMaxSize
      • getCanWithdrawUnfreezeAmount
      • getChainParameters
      • getConfirmedTransaction
      • getContract
      • getCurrentBlock
      • getDelegatedResourceV2
      • getDelegatedResourceAccountIndexV2
      • getExchangeByID
      • getNodeInfo
      • getReward
      • getTokenByID
      • getTokenFromID
      • getTokenListByName
      • getTokensIssuedByAddress
      • getTransaction
      • getTransactionFromBlock
      • getTransactionInfo
      • getUnconfirmedBalance
      • getUnconfirmedBrokerage
      • getUnconfirmedReward
      • listExchanges
      • listExchangesPaginated
      • listNodes
      • listProposals
      • listSuperRepresentatives
      • listTokens
      • sendRawTransaction
      • sendHexTransaction
      • sendToken
      • sendTransaction
      • sign
      • signMessageV1
      • signMessageV2
      • timeUntilNextVoteCycle
      • multiSign
      • verifyMessage
      • verifyMessageV2
      • _signTypedData
      • verifyTypedData
    • polluxweb.transactionBuilder
      • addUpdateData
      • applyForSR
      • cancelUnfreezeBalanceV2
      • createAccount
      • createAsset
      • createProposal
      • createSmartContract
      • createToken
      • delegateResource
      • deleteProposal
      • estimateEnergy
      • extendExpiration
      • freezeBalance
      • freezeBalanceV2
      • injectExchangeTokens
      • purchaseAsset
      • purchaseToken
      • sendAsset
      • sendToken
      • sendTrx
      • tradeExchangeTokens
      • triggerConfirmedConstantContract
      • triggerConstantContract
      • triggerSmartContract
      • undelegateResource
      • unfreezeBalance
      • unfreezeBalanceV2
      • updateSetting
      • updateAccountPermissions
      • updateAsset
      • updateBrokerage
      • updateEnergyLimit
      • updateToken
      • vote
      • voteProposal
      • withdrawBlockRewards
      • withdrawExchangeTokens
      • withdrawExpireUnfreeze
    • poxweb.contract
      • polluxweb.contract.new
      • polluxweb.contract()
      • method.call()
      • method.send()
    • polluxweb.utils
      • transaction.txJsonToPb
      • transaction.txPbToTxID
      • message.hashMessage
  • Pollux CLI
    • Pollux CLI
  1. Proposals

ListProposals

GET
/wallet/listproposals
List all proposals.
Returns
proposals - List<ProposalCapsule>: A list of proposals. For the parameters of each proposal, please refer to GetProposalById.

Request

None

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/wallet/listproposals'

Responses

🟢200Success
application/json
Body
object {0}
Examples
{
    "proposals": [
        {
            "proposal_id": 102,
            "proposer_address": "41202d802d6f3db2ce59c632c13abe1b78a91528b7",
            "parameters": [
                {
                    "key": 33,
                    "value": 1
                },
                {
                    "key": 19,
                    "value": 180000000000
                },
                {
                    "key": 29,
                    "value": 1
                }
            ],
            "expiration_time": 1728901080000,
            "create_time": 1728641424000,
            "approvals": [
                "418cd8405040ea63c0219cbf68ee014dbca28a94b5",
                "410765bed97bbd836f6e489265fd0d9ca1c888e606",
                "4116b099335c674960a9a2b8dc6e3b90f5a74807ec",
                "41e61626ef01662b320a8ba38372e9db9cca940a3b",
                "41e817b29047a50558cc8f5e97c5bb99d4723cbaa2",
                "41cd8d8ad1b4a5bd7afe46949421d2b411a3601717",
                "415f48f0886e85e469f592efdd7697b4c6fe88addc",
                "418d4ee1aa3e5f06533c277c3d8f19590e06be4da5",
                "41711cf6683d28621ae12030fd541b288c61d682cd",
                "41d42e593de3cee8156934cc2182ef4d107e9291f0",
                "41e76da262ad1ca05274f74258ee18bc7fcc4987dc",
                "41839d08f05ade5b365e81d1a66c20af13ebb2991d",
                "41d0668c49826f2ca13e3848b5eb3414fb059b7cc0",
                "41977f82c69011cf4a7db6f7339edcded85c614d45",
                "41202d802d6f3db2ce59c632c13abe1b78a91528b7",
                "41290bf92b578a1c615ebb273aff6a285230c02f65",
                "41e71c365c9dbf284ca8c1eed2d7877638941b9011",
                "419bfe696dc52b3e3fc64af93b44e40cda3d8d4e1f",
                "4116c7786091fdd1bde708bc7dee96cd7371543ce4",
                "41ce9b5acfce023822bcdf302333668cce2ba60bca",
                "410102255809ed8d2139c533b8ebfda9131a9bbbc8",
                "41d338173b69600ce9312e2abd54ef0429ef80cda0",
                "41b40de3abd90961539517d57d0f79f477072ebda0",
                "410257b56399ef8d835b42f68e6476f7fe8ca2d283",
                "416d93bd35508007a45a1c7cdb8b982e70bf391775",
                "41f279598aff304907ca03b0498c686d010d3d80bb",
                "41cf9e12e0f48573c84bc88d8ff7c50567485aaa24"
            ],
            "state": "APPROVED"
        },
        {
            "proposal_id": 101,
            "proposer_address": "41202d802d6f3db2ce59c632c13abe1b78a91528b7",
            "parameters": [
                {
                    "key": 33,
                    "value": 1
                },
                {
                    "key": 19,
                    "value": 150000000000
                },
                {
                    "key": 29,
                    "value": 1
                }
            ],
            "expiration_time": 1726629480000,
            "create_time": 1726370256000,
            "approvals": [
                "418cd8405040ea63c0219cbf68ee014dbca28a94b5",
                "410765bed97bbd836f6e489265fd0d9ca1c888e606",
                "4116b099335c674960a9a2b8dc6e3b90f5a74807ec",
                "41e61626ef01662b320a8ba38372e9db9cca940a3b",
                "41e817b29047a50558cc8f5e97c5bb99d4723cbaa2",
                "41cd8d8ad1b4a5bd7afe46949421d2b411a3601717",
                "415f48f0886e85e469f592efdd7697b4c6fe88addc",
                "418d4ee1aa3e5f06533c277c3d8f19590e06be4da5",
                "41711cf6683d28621ae12030fd541b288c61d682cd",
                "41d42e593de3cee8156934cc2182ef4d107e9291f0",
                "41e76da262ad1ca05274f74258ee18bc7fcc4987dc",
                "41839d08f05ade5b365e81d1a66c20af13ebb2991d",
                "41d0668c49826f2ca13e3848b5eb3414fb059b7cc0",
                "41977f82c69011cf4a7db6f7339edcded85c614d45",
                "41202d802d6f3db2ce59c632c13abe1b78a91528b7",
                "41290bf92b578a1c615ebb273aff6a285230c02f65",
                "41e71c365c9dbf284ca8c1eed2d7877638941b9011",
                "419bfe696dc52b3e3fc64af93b44e40cda3d8d4e1f",
                "4116c7786091fdd1bde708bc7dee96cd7371543ce4",
                "41ce9b5acfce023822bcdf302333668cce2ba60bca",
                "410102255809ed8d2139c533b8ebfda9131a9bbbc8",
                "41d338173b69600ce9312e2abd54ef0429ef80cda0",
                "41b40de3abd90961539517d57d0f79f477072ebda0",
                "410257b56399ef8d835b42f68e6476f7fe8ca2d283",
                "416d93bd35508007a45a1c7cdb8b982e70bf391775",
                "41f279598aff304907ca03b0498c686d010d3d80bb",
                "41cf9e12e0f48573c84bc88d8ff7c50567485aaa24"
            ],
            "state": "APPROVED"
        },
        {
            "proposal_id": 100,
            "proposer_address": "41202d802d6f3db2ce59c632c13abe1b78a91528b7",
            "parameters": [
                {
                    "key": 81,
                    "value": 1
                }
            ],
            "expiration_time": 1719457680000,
            "create_time": 1719198408000
Previous
GetNextMaintenanceTime
Next
GetProposalById
Built with