Documentation exported from Syscoin Core 4.3.0

assetallocationmint (4.3.0 RPC)

blockchain

control

evo

evowallet

generating

governance

governancewallet

masternode

mining

network

rawtransactions

signer

syscoin

syscoinwallet

util

wallet

zmq

assetallocationmint "asset_guid" "address" amount "blockhash" "tx_hex" "txroot_hex" "txmerkleproof_hex" "merklerootpath_hex" "receipt_hex" "receiptroot_hex" "receiptmerkleproof_hex" ( auxfee_test )

Mint assetallocation to come back from the bridge

Arguments:
1. asset_guid                 (string, required) Asset guid
2. address                    (string, required) Mint to this address.
3. amount                     (numeric or string, required) Amount of asset to mint.  Note that fees (in SYS) will be taken from the owner address
4. blockhash                  (string, required) Block that included the burn transaction on NEVM.
5. tx_hex                     (string, required) Transaction hex.
6. txroot_hex                 (string, required) The transaction merkle root that commits this transaction to the block header.
7. txmerkleproof_hex          (string, required) The list of parent nodes of the Merkle Patricia Tree for SPV proof of transaction merkle root.
8. merklerootpath_hex         (string, required) The merkle path to walk through the tree to recreate the merkle hash for both transaction and receipt root.
9. receipt_hex                (string, required) Transaction Receipt Hex.
10. receiptroot_hex           (string, required) The transaction receipt merkle root that commits this receipt to the block header.
11. receiptmerkleproof_hex    (string, required) The list of parent nodes of the Merkle Patricia Tree for SPV proof of transaction receipt merkle root.
12. auxfee_test               (boolean) Used for internal testing only.

Result:
{                    (json object)
  "txid" : "hex"     (string) The transaction id
}

Examples:
> syscoin-cli assetallocationmint "asset_guid" "address" "amount" "blockhash" "tx_hex" "txroot_hex" "txmerkleproof_hex" "txmerkleproofpath_hex" "receipt_hex" "receiptroot_hex" "receiptmerkleproof"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationmint", "params": ["asset_guid", "address", "amount", "blockhash", "tx_hex", "txroot_hex", "txmerkleproof_hex", "txmerkleproofpath_hex", "receipt_hex", "receiptroot_hex", "receiptmerkleproof"]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/