Should be called to transfer funds from exchange's client to other address / institution. Might be also used for internal transfers.
{
"id": 8,
"jsonrpc": "2.0",
"method": "exchange_transfer",
"params": [
"XROF",
"GAVOFYORK",
"0xdc167599eeef974dcbdc6c49da98c42ac9e1c64b",
{
"value": 6
}
]
}
curl -X POST --data '{"id":8,"jsonrpc":"2.0","method":"exchange_transfer","params":["XROF", "GAVOFYORK", "0xdc167599eeef974dcbdc6c49da98c42ac9e1c64b", {"value": 6}]}' -H "Content-Type: application/json" http://localhost:8545
{
"jsonrpc": "2.0",
"id": 8,
"result": "0x462602d51f5c4db38bd419529fd7a206735cf497a433eb81134fcecc910757e2"
}
Name | Code |
---|---|
UNKNOWN_ERROR | 100 |
IDENTIFIER_IS_INCORRECT | 101 |
IDENTIFIER_NOT_OWNED | 103 |
IDENTIFIER_NO_ADDRESS | 105 |
FROM_IS_INCORRECT | 110 |
TO_IS_INCORRECT | 111 |
TO_IDENTIFIER_NO_ADDRESS | 112 |