Polluxchain
    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
        • GetProposalById
        • ProposalCreate
        • ProposalApprove
        • ProposalDelete
      • 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

    Background

    PolluxChain provides all full-node HTTP APIs and also offers its proprietary user-friendly extension API. The latest version of PolluxChain's proprietary API is v1.
    The PolluxChain API service boasts features like low latency, high consistency, high availability, and partition fault tolerance. PolluxChain API service is available for the mainnet, testne. Please select the appropriate network based on your requirements before using the PolluxChain API service.
    📘Note
    Although Pollux has mitigated XSS risks by setting the Content-Type of HTTP APIs to application/json, a few APIs lack input validation. To better protect user data security, we strongly recommend encoding any data obtained from the APIs before displaying it in any UI, especially when the parameter visible = true is enabled by default.
    A typical XSS protection method involves encoding all data received from the APIs for use in HTML. Use methods such as encodeURIComponent() or escape() to encode the data, which will convert special characters into their HTML entities and prevent them from being interpreted as HTML code by the browser.
    Ensure proper implementation of XSS protection for all data from the APIs to guarantee user data security. For more information about XSS protection, it is recommended to refer to the following resources: OWASP XSS Prevention Cheat Sheet.
    Select a Network
    NetworkURL
    Mainnethttps://expfullnode.poxscan.io
    Testnethttps://testnet-fullnode.poxscan.io
    To ensure the optimal allocation of resources, all API requests must include the parameter API Key. Requests without an API Key will face strict rate limits or may not receive any response. For more details, please refer to the API Key chapter.
    Next
    API key
    Built with