migrate_createburntransaction - Spacecoin RPC Docs

migrate_createburntransaction dest_symbol dest_addr amount [tokenid]

Creates a raw burn transaction to make a cross-chain coin or non-fungible token transfer.
The parameters:
dest_symbol   destination chain ac_name
dest_addr     address on the destination chain where coins are to be sent or pubkey if tokens are to be sent
amount        amount in coins to be burned on the source chain and sent to the destination address/pubkey on the destination chain, for tokens should be equal to 1
tokenid       token id, if tokens are transferred (optional). Only non-fungible tokens are supported

The transaction should be sent using sendrawtransaction to the source chain
The finished burn transaction and payouts should be also passed to the "migrate_createimporttransaction" method to get the corresponding import transaction.

Learn more about spacecoin at spacecoin.network.
Docs generated by spacecoin v0.6.1.
Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.

Spacecoin Logo