wallet/burnAsset
Creates a transaction burning a custom asset from a given account, posts the transaction, and submits it to the wallet, mempool, and network.
Request
{
account?: string
assetId: string
fee?: string
feeRate?: string
value: string
expiration?: number
expirationDelta?: number
confirmations?: number
}
Response
RpcBurn & {
asset: RpcAsset
transaction: RpcWalletTransaction
/**
* @deprecated Please use `transaction.hash` instead
*/
hash: string
/**
* @deprecated Please use `asset.name` instead
*/
name: string
}
RPC Objects: