On this page

latest contributor to this doc

Last Edit:

@smk762

withdraw

The withdraw method generates, signs, and returns a transaction that transfers the amount of coin to the address indicated in the to argument.

This method generates a raw transaction which should then be broadcast using send_raw_transaction.

Parameter* = requiredTypeDescription
coin*
string
Ticker of the enabled coin (e.g., "SIA").
to*
string
Recipient address.
amount
string
Optional. Amount to send in coin units.
broadcast
boolean
Optional. Set true for Metamask-managed transactions that must be broadcast immediately.
fee
object
Optional fee policy (Sia uses default fee when unspecified).
from
object
Optional HD address selector (unused for Sia Iguana).
ibc_source_channel
integer
Optional. Tendermint IBC transfers only. The source channel for IBC transaction.
max
boolean
Optional. Send full balance if true.
memo
string
Optional memo (unused for Sia).

Parameter* = requiredTypeDescription
tx*
object
Transaction details object.

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": "10",
    "coin": "KMD",
    "to": "RJTYiYeJ8eVvJ53n2YbrVmxWNNMVZjDGLh"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": null,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "KMD",
    "fee_details": {
      "amount": "0.00001",
      "coin": "KMD",
      "type": "Utxo"
    },
    "from": [
      "RHound8PpyhVLfi56dC7MK3ZvvkAmB3bvQ"
    ],
    "internal_id": "",
    "kmd_rewards": {
      "amount": "0",
      "claimed_by_my": true
    },
    "memo": null,
    "my_balance_change": "-10",
    "received_by_me": "0",
    "spent_by_me": "10",
    "timestamp": 1743589636,
    "to": [
      "RJTYiYeJ8eVvJ53n2YbrVmxWNNMVZjDGLh"
    ],
    "total_amount": "10",
    "transaction_type": "StandardTransfer",
    "tx_hash": "aa456a6288292c4980637083871a6a4a1fb0a2242f6a30ae974069311691f37c",
    "tx_hex": "0400008085202f890152db2e550ca2d69eed487c95b6089b0f12e7a8937a89b8754c38a8c361560fca000000006a47304402200220239769f48c8bc96fbbcb66bcc0483f6234cb48ab823e13f0b791cdd501b902204f8b2dd875609e35f1677e39e403a18e9d2d98cd9916f51a62ac1edfc350cd47012102b3c168ed4acd96594288cee3114c77de51b6afe1ab6a866887a13a96ee80f33cffffffff0290a00b00000000001976a9145d904d4531f4c74f760a14ef057c866a06705dda88ac37040700000000001976a9145d904d4531f4c74f760a14ef057c866a06705dda88ac0609ed67000000000000000000000000000000"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": 1.025,
    "broadcast": true,
    "coin": "MARTY",
    "from": {
      "derivation_path": "m/44'/141'/0'/0/0"
    },
    "to": "RAK5GkKvJKYehFvMavi5QKucriaCu9enHi"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": 0,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "MARTY",
    "fee_details": {
      "amount": "0.00000245",
      "coin": "MARTY",
      "type": "Utxo"
    },
    "from": [
      "R9oNwVG9pCZZNu8cUbbKvFxuzFyUAYWZw5"
    ],
    "internal_id": "",
    "memo": null,
    "my_balance_change": "-1.02500245",
    "received_by_me": "6.59499755",
    "spent_by_me": "7.62",
    "timestamp": 1763129922,
    "to": [
      "RAK5GkKvJKYehFvMavi5QKucriaCu9enHi"
    ],
    "total_amount": "7.62",
    "transaction_type": "StandardTransfer",
    "tx_hash": "63959201c8e52c3b5006f0eb365980a86f412e54cf7a5ae78c3b47535219d8e5",
    "tx_hex": "0400008085202f8901378a408f4b87a36ac52e82075be0487bef8ceeafc5f5d9fd67def028b1bcd529000000006a47304402202c1ec96aff2c7616999bddb4c2d267e05c9864ec2c75d8bbdb47dcec67760bba02206751c652a115e45dd7f6a31f41a8c1504f53b2308ecd77230c0eedcc882198730121033a546ac195fa8a1f70cda975d035e811d3b903b2ef0253c47ee3a1fedad83c1cffffffff02a0061c06000000001976a9140b5346ab6e60cd7f69823fb3b3b289b5e1d70e0b88aceb2a4f27000000001976a91405b58bafaf5acc706232861edf0478f5cb69e70c88ac423a1769000000000000000000000000000000"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": 0.01,
    "broadcast": true,
    "coin": "MARTY",
    "from": {
      "account_id": 0,
      "address_id": 1,
      "chain": "External"
    },
    "to": "RAK5GkKvJKYehFvMavi5QKucriaCu9enHi"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": 0,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "MARTY",
    "fee_details": {
      "amount": "0.00000245",
      "coin": "MARTY",
      "type": "Utxo"
    },
    "from": [
      "REQAx25g5D1xj3GzQ3PRBMcHP4TegZwsCa"
    ],
    "internal_id": "",
    "memo": null,
    "my_balance_change": "-0.01000245",
    "received_by_me": "7.60999755",
    "spent_by_me": "7.62",
    "timestamp": 1763129921,
    "to": [
      "RAK5GkKvJKYehFvMavi5QKucriaCu9enHi"
    ],
    "total_amount": "7.62",
    "transaction_type": "StandardTransfer",
    "tx_hash": "9f2052cd6fe77a81d9c3781918b6963efceac6d391013d449ee1d2d6dc55cb03",
    "tx_hex": "0400008085202f8901f19abcd5fca15276ce0a4469ab6fc14a6376f99a40fffadbf2dbf4d065618931000000006a47304402207aad22dfe29f98eaada5f4ddc75fb94b9ec0431a3d47a7b44b0d78b1b59a303a0220050326aa3ce6c44fbfff476882318a985effffe9b92e5145b5b99b9af4d911a701210339e82bb13d3bb65a01b8ddb57fa56382e2020e67f825cb9113fcb97ea07fb9a6ffffffff0240420f00000000001976a9140b5346ab6e60cd7f69823fb3b3b289b5e1d70e0b88ac4bef5b2d000000001976a914382a99167bf08019a1bf480eda14caba638b3c0688ac413a1769000000000000000000000000000000"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": "1.0",
    "coin": "DOC",
    "fee": {
      "amount": "0.1",
      "type": "UtxoFixed"
    },
    "to": "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": 0,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "DOC",
    "fee_details": {
      "amount": "0.0245",
      "coin": "DOC",
      "type": "Utxo"
    },
    "from": [
      "RDux85r5XE7xuUs5DCTt7jTY1cJZT7SKAW"
    ],
    "internal_id": "",
    "memo": null,
    "my_balance_change": "-1.0245",
    "received_by_me": "6.5955",
    "spent_by_me": "7.62",
    "timestamp": 1763129908,
    "to": [
      "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
    ],
    "total_amount": "7.62",
    "transaction_type": "StandardTransfer",
    "tx_hash": "4d921ef899f06ca7b6640a88b6526b6f1ecfeebe74de8b137839e9fdd32d910a",
    "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022007c87b3cd3a8847afba4668c31634b2f11b36e88113029bab36e55482fbb6dbb02200cedd655bd5dbd1685144535b0e5635ee5e4d59c275e3bd16ac56766067b7ab501210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac343a1769000000000000000000000000000000"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": "1.0",
    "coin": "DOC",
    "fee": {
      "amount": "1",
      "type": "UtxoPerKbyte"
    },
    "to": "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": 0,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "DOC",
    "fee_details": {
      "amount": "0.245",
      "coin": "DOC",
      "type": "Utxo"
    },
    "from": [
      "RDux85r5XE7xuUs5DCTt7jTY1cJZT7SKAW"
    ],
    "internal_id": "",
    "memo": null,
    "my_balance_change": "-1.245",
    "received_by_me": "6.375",
    "spent_by_me": "7.62",
    "timestamp": 1763129910,
    "to": [
      "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
    ],
    "total_amount": "7.62",
    "transaction_type": "StandardTransfer",
    "tx_hash": "cdafac69cc6fb54c4c7521424bb1401a4054b878a32319c55954405fa76ccb33",
    "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022058e16ac6c9f745c3f5da87e3e6e2d3cd1a535a0a2c6df447f34c20b4e8bfa4ff0220155498ce6aeb38749517cb979ad65f147e04b2adcadb4d17e970f759686c947c01210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac363a1769000000000000000000000000000000"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": 10,
    "coin": "ETH",
    "to": "0xbab36286672fbdc7b250804bf6d14be0df69fa28"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": 0,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "ETH",
    "fee_details": {
      "coin": "ETH",
      "gas": 21000,
      "gas_price": "0.000000001",
      "total_fee": "0.000021",
      "type": "Eth"
    },
    "from": [
      "0xbab36286672fbdc7b250804bf6d14be0df69fa29"
    ],
    "my_balance_change": "-10.000021",
    "received_by_me": "0",
    "spent_by_me": "10.000021",
    "to": [
      "0xbab36286672fbdc7b250804bf6d14be0df69fa28"
    ],
    "total_amount": "10.000021",
    "tx_hash": "8fbc5538679e4c4b78f8b9db0faf9bf78d02410006e8823faadba8e8ae721d60",
    "tx_hex": "f86d820a59843b9aca0082520894bab36286672fbdc7b250804bf6d14be0df69fa28888ac7230489e80000801ba0fee87414a3b40d58043a1ae143f7a75d7f47a24e872b638281c448891fd69452a05b0efcaed9dee1b6d182e3215d91af317d53a627404b0efc5102cfe714c93a28"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": "AMOUNT",
    "coin": "COIN_NAME",
    "fee": {
      "gas": 55000,
      "gas_price": "3.5",
      "type": "EthGas"
    },
    "to": "RECIPIENT_ADDRESS"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "ETH",
    "fee_details": {
      "coin": "ETH",
      "gas": 55000,
      "gas_price": "0.0000000035",
      "total_fee": "0.0001925",
      "type": "Eth"
    },
    "from": [
      "0xbAB36286672fbdc7B250804bf6D14Be0dF69fa29"
    ],
    "internal_id": "",
    "my_balance_change": "-0.0001925",
    "received_by_me": "10",
    "spent_by_me": "10.0001925",
    "timestamp": 1566474670,
    "to": [
      "0xbAB36286672fbdc7B250804bf6D14Be0dF69fa29"
    ],
    "total_amount": "10",
    "tx_hash": "a26c4dcacf63c04e385dd973ca7e7ca1465a3b904a0893bcadb7e37681d38c95",
    "tx_hex": "f86d820b2884d09dc30082d6d894bab36286672fbdc7b250804bf6d14be0df69fa29888ac7230489e80000801ca0ef0167b0e53ed50d87b6fd630925f2bce6ee72e9b5fdb51c6499a7caaecaed96a062e5cb954e503ff83f2d6ce082649fdcdf8a77c8d37c7d26d46d3f736b228d10"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "coin": "SC",
    "max": true,
    "to": "c67d77a585c13727dbba57cfc115995beb9b8737e9a8cb7bb0aa208744e646cdc0acc9c9fce2"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": null,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "SC",
    "fee_details": {
      "coin": "SC",
      "policy": "Fixed",
      "total_amount": "0.000010000000000000000000",
      "type": "Sia"
    },
    "from": [
      "2c4a02...04db"
    ],
    "internal_id": "",
    "memo": null,
    "my_balance_change": "-0.076210000000000000000000",
    "received_by_me": "49.923790000000000000000000",
    "spent_by_me": "50.000000000000000000000000",
    "timestamp": 1750747840,
    "to": [
      "c67d77...fce2"
    ],
    "total_amount": "50.000000000000000000000000",
    "transaction_type": "SiaV2Transaction",
    "tx_hash": "37dbf68cba4125714b7ca10e00e3166c434fa622b61837b43b74e4eefc179f0d",
    "tx_json": {
      "minerFee": "10000000000000000000",
      "siacoinInputs": [],
      "siacoinOutputs": []
    }
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "coin": "ETH",
    "max": true,
    "to": "0xbab36286672fbdc7b250804bf6d14be0df69fa28"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "ETH",
    "fee_details": {
      "coin": "ETH",
      "gas": 21000,
      "gas_price": "0.000000001",
      "total_fee": "0.000021",
      "type": "Eth"
    },
    "from": [
      "0xbab36286672fbdc7b250804bf6d14be0df69fa29"
    ],
    "my_balance_change": "-10.000021",
    "received_by_me": "0",
    "spent_by_me": "10.000021",
    "to": [
      "0xbab36286672fbdc7b250804bf6d14be0df69fa28"
    ],
    "total_amount": "10.000021",
    "tx_hash": "8fbc5538679e4c4b78f8b9db0faf9bf78d02410006e8823faadba8e8ae721d60",
    "tx_hex": "f86d820a59843b9aca0082520894bab36286672fbdc7b250804bf6d14be0df69fa28888ac7230489e80000801ba0fee87414a3b40d58043a1ae143f7a75d7f47a24e872b638281c448891fd69452a05b0efcaed9dee1b6d182e3215d91af317d53a627404b0efc5102cfe714c93a28"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": 10,
    "coin": "QRC20",
    "to": "qHmJ3KA6ZAjR9wGjpFASn4gtUSeFAqdZgs"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "QRC20",
    "fee_details": {
      "coin": "tQTUM",
      "gas_limit": 100000,
      "gas_price": 40,
      "miner_fee": "0.00000447",
      "total_gas_fee": "0.04",
      "type": "Qrc20"
    },
    "from": [
      "qXxsj5RtciAby9T7m98AgAATL4zTi4UwDG"
    ],
    "my_balance_change": "-10",
    "received_by_me": "0",
    "spent_by_me": "10",
    "timestamp": 1608725061,
    "to": [
      "qHmJ3KA6ZAjR9wGjpFASn4gtUSeFAqdZgs"
    ],
    "total_amount": "10",
    "tx_hash": "8fbc5538679e4c4b78f8b9db0faf9bf78d02410006e8823faadba8e8ae721d60",
    "tx_hex": "f86d820a59843b9aca0082520894bab36286672fbdc7b250804bf6d14be0df69fa28888ac7230489e80000801ba0fee87414a3b40d58043a1ae143f7a75d7f47a24e872b638281c448891fd69452a05b0efcaed9dee1b6d182e3215d91af317d53a627404b0efc5102cfe714c93a28"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": 10,
    "coin": "QRC20",
    "fee": {
      "gas_limit": 250000,
      "gas_price": 40,
      "type": "Qrc20Gas"
    },
    "to": "qHmJ3KA6ZAjR9wGjpFASn4gtUSeFAqdZgs"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "QRC20",
    "fee_details": {
      "coin": "tQTUM",
      "gas_limit": 250000,
      "gas_price": 40,
      "miner_fee": "0.00000447",
      "total_gas_fee": "0.1",
      "type": "Qrc20"
    },
    "from": [
      "qXxsj5RtciAby9T7m98AgAATL4zTi4UwDG"
    ],
    "my_balance_change": "-10",
    "received_by_me": "0",
    "spent_by_me": "10",
    "timestamp": 1608725061,
    "to": [
      "qHmJ3KA6ZAjR9wGjpFASn4gtUSeFAqdZgs"
    ],
    "total_amount": "10",
    "tx_hash": "8fbc5538679e4c4b78f8b9db0faf9bf78d02410006e8823faadba8e8ae721d60",
    "tx_hex": "f86d820a59843b9aca0082520894bab36286672fbdc7b250804bf6d14be0df69fa28888ac7230489e80000801ba0fee87414a3b40d58043a1ae143f7a75d7f47a24e872b638281c448891fd69452a05b0efcaed9dee1b6d182e3215d91af317d53a627404b0efc5102cfe714c93a28"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": 0.1,
    "broadcast": true,
    "coin": "MATIC",
    "to": "0xbAB36286672fbdc7B250804bf6D14Be0dF69fa29"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": 0,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "IRIS",
    "fee_details": {
      "amount": "0.038553",
      "coin": "IRIS",
      "gas_limit": 100000,
      "type": "Tendermint"
    },
    "from": [
      "iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"
    ],
    "internal_id": "e00982a2a8442d7140916a34e29e287a0b1cbb4b38940372d1966ba7acde5bd6",
    "memo": "It was a bright cold day in April, and the clocks were striking thirteen.",
    "my_balance_change": "-0.038553",
    "received_by_me": "13",
    "spent_by_me": "13.038553",
    "timestamp": 0,
    "to": [
      "iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"
    ],
    "total_amount": "13.038553",
    "transaction_type": "StandardTransfer",
    "tx_hash": "E00982A2A8442D7140916A34E29E287A0B1CBB4B38940372D1966BA7ACDE5BD6",
    "tx_hex": "0ade010a8b010a1c2f636f736d6f732e62616e6b2e763162657461312e4d736753656e64126b0a2a6961613136647271766c33753873756b667375346c6d3371736b32386a72336661686a6139767376366b122a6961613136647271766c33753873756b667375346c6d3371736b32386a72336661686a6139767376366b1a110a05756972697312083133303030303030124949742077617320612062726967687420636f6c642064617920696e20417072696c2c20616e642074686520636c6f636b73207765726520737472696b696e6720746869727465656e2e188f85b50812680a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a2103d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc212040a020801181d12140a0e0a0575697269731205333835353310a08d061a40a9ac8c4112d7d7252062e289d222a438258a7c49c6657fdcbf831d62fc5eb2d05af46d6b86881335b3bc7ca98b2bfc3ef02ec5adf6768de9a778b282f9cc868e"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": 13,
    "coin": "IRIS",
    "fee": {
      "gas_limit": 150000,
      "gas_price": 0.05,
      "type": "CosmosGas"
    },
    "memo": "It was a bright cold day in April, and the clocks were striking thirteen.",
    "to": "iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "IRIS",
    "fee_details": {
      "amount": "0.038553",
      "coin": "IRIS",
      "gas_limit": 100000,
      "type": "Tendermint"
    },
    "from": [
      "iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"
    ],
    "internal_id": "e00982a2a8442d7140916a34e29e287a0b1cbb4b38940372d1966ba7acde5bd6",
    "memo": "It was a bright cold day in April, and the clocks were striking thirteen.",
    "my_balance_change": "-0.038553",
    "received_by_me": "13",
    "spent_by_me": "13.038553",
    "timestamp": 0,
    "to": [
      "iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"
    ],
    "total_amount": "13.038553",
    "transaction_type": "StandardTransfer",
    "tx_hash": "E00982A2A8442D7140916A34E29E287A0B1CBB4B38940372D1966BA7ACDE5BD6",
    "tx_hex": "0ade010a8b010a1c2f636f736d6f732e62616e6b2e763162657461312e4d736753656e64126b0a2a6961613136647271766c33753873756b667375346c6d3371736b32386a72336661686a6139767376366b122a6961613136647271766c33753873756b667375346c6d3371736b32386a72336661686a6139767376366b1a110a05756972697312083133303030303030124949742077617320612062726967687420636f6c642064617920696e20417072696c2c20616e642074686520636c6f636b73207765726520737472696b696e6720746869727465656e2e188f85b50812680a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a2103d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc212040a020801181d12140a0e0a0575697269731205333835353310a08d061a40a9ac8c4112d7d7252062e289d222a438258a7c49c6657fdcbf831d62fc5eb2d05af46d6b86881335b3bc7ca98b2bfc3ef02ec5adf6768de9a778b282f9cc868e"
  }
}

Withdraw

POST
withdraw
{
  "id": 0,
  "method": "withdraw",
  "mmrpc": "2.0",
  "params": {
    "amount": 0.1,
    "coin": "ATOM",
    "fee": {
      "gas_limit": 150000,
      "gas_price": 0.05,
      "type": "CosmosGas"
    },
    "ibc_source_channel": 141,
    "memo": "In the blackest of your moments, wait with no fear.",
    "to": "osmo16drqvl3u8sukfsu4lm3qsk28jr3fahjac4rdw4"
  },
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "id": null,
  "mmrpc": "2.0",
  "result": {
    "block_height": 0,
    "coin": "ATOM",
    "fee_details": {
      "amount": "0.017359",
      "coin": "ATOM",
      "gas_limit": 1500000,
      "type": "Tendermint"
    },
    "from": [
      "cosmos16drqvl3u8sukfsu4lm3qsk28jr3fahjaswsac8"
    ],
    "internal_id": "06174e488b7bbc35180e841f2d170327bb7de0a291ca69050d81f82a7cf103cb",
    "memo": "In the blackest of your moments, wait with no fear.",
    "my_balance_change": "-0.1173590000000000",
    "received_by_me": "0",
    "spent_by_me": "0.1173590000000000",
    "timestamp": 0,
    "to": [
      "osmo16drqvl3u8sukfsu4lm3qsk28jr3fahjac4rdw4"
    ],
    "total_amount": "0.1173590000000000",
    "transaction_type": "TendermintIBCTransfer",
    "tx_hash": "06174E488B7BBC35180E841F2D170327BB7DE0A291CA69050D81F82A7CF103CB",
    "tx_hex": "0af9010abc010a292f6962632e6170706c69636174696f6e732e7472616e736665722e76312e4d73675472616e73666572128e010a087472616e73666572120b6368616e6e656c2d3134311a0f0a057561746f6d1206313030303030222d636f736d6f733136647271766c33753873756b667375346c6d3371736b32386a72336661686a617377736163382a2b6f736d6f3136647271766c33753873756b667375346c6d3371736b32386a72336661686a6163347264773438a6c5b9a089f29efa171233496e2074686520626c61636b657374206f6620796f7572206d6f6d656e74732c20776169742077697468206e6f20666561722e188df8c70a12680a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a2103d8064eece4fa5c0f8dc0267f68cee9bdd527f9e88f3594a323428718c391ecc212040a020801180b12140a0e0a057561746f6d1205313733353910e0c65b1a40042c4fa45d77405ee94e737a000b146f5019137d5a2d3275849c9ad66dd8ef1d0f087fb584f34b1ebcf7989e41bc0675e96c83f0eec4ffe355e078b6615d7a72"
  }
}

{
    "mmrpc": "2.0",
    "error": "Error parsing request: unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
    "error_path": "dispatcher",
    "error_trace": "dispatcher:109]",
    "error_type": "InvalidRequest",
    "error_data": "unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
    "id": 0
}

{
    "mmrpc": "2.0",
    "error": "Error parsing request: invalid type: string \"0.1\", expected f64",
    "error_path": "dispatcher",
    "error_trace": "dispatcher:109]",
    "error_type": "InvalidRequest",
    "error_data": "invalid type: string \"0.1\", expected f64",
    "id": 0
}

{
  "mmrpc": "2.0",
  "error": "Invalid fee policy: Expected 'UtxoFixed' or 'UtxoPerKbyte' fee types, found EthGas",
  "error_path": "utxo_common",
  "error_trace": "utxo_common:1371]",
  "error_type": "InvalidFeePolicy",
  "error_data": "Expected 'UtxoFixed' or 'UtxoPerKbyte' fee types, found EthGas",
  "id": 0
}