wallet/postTransaction
Posts a transaction and submits it to the wallet, mempool, and network if possible.
Request
{
account?: string
transaction: string
broadcast?: boolean
}
Response
{
transaction: string;
hash: string;
broadcasted?: boolean
accepted?: boolean
}
- transaction The hex encoded posted SDK transaction
- hash The hex encoded posted transaction hash
- broadcasted true if the transaction was successfully sent out to the network.
- Note: undefined if broadcast request parameter is false (default true)
- accepted true if the transaction was accepted into the node's mempool
- Note: undefined if broadcast request parameter is false (default true)