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

    API Key

    What are API Keys#

    PolluxChain provides all full-node HTTP APIs and extended APIs for the Pollux network. To ensure reasonable allocation of requested resources, all API requests must include the parameter API Key, and requests without an API Key will face severe limitations or may not receive a response.
    📘Note:
    Currently, using Polluxweb to access the Testnet does not require setting an API Key.

    How to get an API Key#

    After logging in Poxscan, users can quickly create API Keys on the Dashboard or API Key list. Each API Key has its separate configuration page, and users can configure API Keys to meet different needs.

    How to use API Keys#

    At present, an API Key is used by adding the parameter POX_PRO_API_KEY=API Key to the header of the request.
    HTTP Examples:#
    cURL:#
    curl -X POST \
      https://testnet-fullnode.poxscan.io/wallet/createtransaction \
      -H 'Content-Type: application/json' \
      -H 'POX_PRO_API_KEY: 25f66928-0b70-48cd-9ac6-da6f8247c663' \
      -d '{
        "to_address": "37e9d79cc47518930bc322d9bf7cddd260a0260a8d",
        "owner_address": "37D1E7A6BC354106CB410E65FF8B181C600FF14292",
        "amount": 1000
    }
    JS:#
    GRPC Examples:#
    Previous
    Background
    Next
    Rate Limits
    Built with