Skip to main content

gateway_sign_transfer

Signs a transfer from gateway address.

URL: http:://127.0.0.1:11211/json_rpc

Request:

{
"id": 0,
"jsonrpc": "2.0",
"method": "gateway_sign_transfer",
"params": {
"opt_custom_schnorr_signature": "b1c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01",
"opt_ecdsa_signature": "b1c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123",
"opt_eddsa_signature": "dc2a4459e7369633a52b1bf277839a00201009a3efbf3ecb69bea2186c26b58909351fc9ac90b3ecfdfbc7c66431e0303dca179c138ac17ad9bef1177331a704",
"tx_blob": "0100000001...",
"tx_id": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8"
}
}

Request description:

    "opt_custom_schnorr_signature": Schnorr signature of hash_to_sign by the current owner.
"opt_ecdsa_signature": ECDSA (Ethereum) signature of hash_to_sign by the current owner.
"opt_eddsa_signature": EdDSA (Solana) signature of hash_to_sign by the current owner.
"tx_blob": Hex representation of the transaction blob to sign.
"tx_id": Actual hash of the transaction.

Response:

{
"id": 0,
"jsonrpc": "2.0",
"result": {
"signed_tx_blob": "0100000001...",
"status": "OK",
"status_error": ""
}
}

Response description:

    "signed_tx_blob": Hex representation of the signed transaction blob.
"status": Status of the call.
"status_error": Error description if the call failed.

Auto-doc built with: 2.2.1.502[72b939e]