Documentation exported from Syscoin Core 4.1.2

syscoingetspvproof (4.1.2 RPC)

blockchain

control

generating

governance

governancewallet

mining

network

rawtransactions

syscoin

syscoinwallet

util

wallet

zmq

syscoingetspvproof "txid"

Returns SPV proof for use with inter-chain transfers.

Arguments:
1. txid    (string, required) A transaction that is in the block

Result:
"proof"         (string) JSON representation of merkle proof (transaction index, siblings and block header and some other information useful for moving coins/assets to another chain)

Examples:
> syscoin-cli syscoingetspvproof dfc7eac24fa89b0226c64885f7bedaf132fc38e8980b5d446d76707027254490
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "syscoingetspvproof", "params": [dfc7eac24fa89b0226c64885f7bedaf132fc38e8980b5d446d76707027254490] }' -H 'content-type: text/plain;' http://127.0.0.1:8370/