- Background
- API key
- Full Node HTTP API
- 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
eth_coinbase
None
The DATA field represents the super representative address of the node. If multiple super representative addresses are configured, only the first address is returned. If no valid address exists or no blocks have been generated by any address, an error is returned with the message "etherbase must be explicitly specified."
cURL#
JSON#
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"etherbase must be explicitly specified","data":"{}"}}