- Background
- API key
- Full Node HTTP API
- Address Utilities
- Transactions
- Accounts
- Account Resources
- Query The Network
- Smart Contract
- Voting & SRs
- Proposals
- Pending pool
- Address Utilities
- Full Node Solidity HTTP API
- Transactions
- Blocks
- Account Resources
- Node & Chain
- Smart Contracts
- Voting & SRs
- 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
CreateTransaction
POST
/wallet/createtransaction
Request
Body Params application/json
object {0}
Example
{
"owner_address": "PJAnjvL467LtS32AMmDWetNaP1AjNZddnx",
"to_address": "PSTv3ZweeCRHd5cmxoL3dTTbSKGgtYZ5cm",
"amount": 1000,
"visible": true
}
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/createtransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
"owner_address": "PJAnjvL467LtS32AMmDWetNaP1AjNZddnx",
"to_address": "PSTv3ZweeCRHd5cmxoL3dTTbSKGgtYZ5cm",
"amount": 1000,
"visible": true
}'
Responses
🟢200Success
application/json
Body
object {0}
Examples
{
"visible": true,
"txID": "cb3892ad5e6694b27f8361c72ce14ac77e59d95e1a657df8c5daf08fc8c96f62",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1000,
"owner_address": "PJAnjvL467LtS32AMmDWetNaP1AjNZddnx",
"to_address": "PSTv3ZweeCRHd5cmxoL3dTTbSKGgtYZ5cm"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract"
}
],
"ref_block_bytes": "a27f",
"ref_block_hash": "bba85ece2180885d",
"expiration": 1736421540000,
"timestamp": 1736421482393
},
"raw_data_hex": "0a02a27f2208bba85ece2180885d40a081a8d6c4325a66080112620a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412310a1541fd49eda0f23ff7ec1d03b52c3a45991c24cd440e12154198927ffb9f554dc4a453c64b2e553a02d6df514b18e8077099bfa4d6c432"
}