- Background
- API key
- Full Node HTTP API
- Address Utilities
- Transactions
- Accounts
- Account Resources
- Query The Network
- GetBlockPOST
- GetBlockByNumPOST
- GetBlockByIdPOST
- GetBlockByLatestNumPOST
- GetBlockByLimitNextPOST
- GetNowBlockPOST
- GetTransactionByIdPOST
- GetTransactionInfoByIdPOST
- GetTransactionInfoByBlockNumPOST
- ListNodesGET
- GetNodeInfoGET
- GetChainParametersGET
- GetBlockBalancePOST
- GetEnergyPricesGET
- GetBandwidthPricesGET
- GetBurnTRXGET
- GetApprovedListPOST
- Smart Contract
- Voting & SRs
- Proposals
- Pending pool
- Address Utilities
- Full Node Solidity HTTP API
- 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
- web3
- 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.utils
- Pollux CLI
GetApprovedList
POST
/wallet/getapprovedlist
Returns
Json object: Includes the signed account address list approved_list and the transaction information transaction.
Request
Body Params application/json
object {0}
Example
{
"signature": [
"e0bd4a60f1b3c89d4da3894d400e7e32385f6dd690aee17fdac4e016cdb294c5128b66f62f3947a7182c015547496eba95510c113bda2a361d811b829343c36501",
"596ead6439d0f381e67f30b1ed6b3687f2bd53ce5140cdb126cfe4183235804741eeaf79b4e91f251fd7042380a9485d4d29d67f112d5387bc7457b355cd3c4200"
],
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1000000,
"owner_address": "41A7D8A35B260395C14AA456297662092BA3B76FC0",
"to_address": "415A523B449890854C8FC460AB602DF9F31FE4293F"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract"
}
],
"ref_block_bytes": "163d",
"ref_block_hash": "77ef4ace148b05ba",
"expiration": 1555664823000,
"timestamp": 1555664763418
}
}
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 POST '/wallet/getapprovedlist' \
--header 'Content-Type: application/json' \
--data-raw '{
"signature": [
"e0bd4a60f1b3c89d4da3894d400e7e32385f6dd690aee17fdac4e016cdb294c5128b66f62f3947a7182c015547496eba95510c113bda2a361d811b829343c36501",
"596ead6439d0f381e67f30b1ed6b3687f2bd53ce5140cdb126cfe4183235804741eeaf79b4e91f251fd7042380a9485d4d29d67f112d5387bc7457b355cd3c4200"
],
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1000000,
"owner_address": "41A7D8A35B260395C14AA456297662092BA3B76FC0",
"to_address": "415A523B449890854C8FC460AB602DF9F31FE4293F"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract"
}
],
"ref_block_bytes": "163d",
"ref_block_hash": "77ef4ace148b05ba",
"expiration": 1555664823000,
"timestamp": 1555664763418
}
}'
Responses
🟢200Success
application/json
Body
object {0}
Examples
{
"result": {},
"approved_list": [
"41d795dc6b63cccd17ef7a7cc22116d18089f5acbb",
"41ac1e00f5a45c769b7da5e4148c129ee716e4973e"
],
"transaction": {
"result": {
"result": true
},
"txid": "120c37304bef81be37461ad3fc6bc7f5105db2d1d701c54f95093943dac607de",
"transaction": {
"signature": [
"e0bd4a60f1b3c89d4da3894d400e7e32385f6dd690aee17fdac4e016cdb294c5128b66f62f3947a7182c015547496eba95510c113bda2a361d811b829343c36501",
"596ead6439d0f381e67f30b1ed6b3687f2bd53ce5140cdb126cfe4183235804741eeaf79b4e91f251fd7042380a9485d4d29d67f112d5387bc7457b355cd3c4200"
],
"txID": "120c37304bef81be37461ad3fc6bc7f5105db2d1d701c54f95093943dac607de",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1000000,
"owner_address": "41a7d8a35b260395c14aa456297662092ba3b76fc0",
"to_address": "415a523b449890854c8fc460ab602df9f31fe4293f"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract"
}
],
"ref_block_bytes": "163d",
"ref_block_hash": "77ef4ace148b05ba",
"expiration": 1555664823000,
"timestamp": 1555664763418
},
"raw_data_hex": "0a02163d220877ef4ace148b05ba40d8c5e5a6a32d5a67080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541a7d8a35b260395c14aa456297662092ba3b76fc01215415a523b449890854c8fc460ab602df9f31fe4293f18c0843d709af4e1a6a32d"
}
}
}