On this page

latest contributor to this doc

Last Edit:

@smk762

withdraw

withdraw coin to (amount max)

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
The name of the coin the user desires to withdraw.
to*
string
Coins are withdrawn to this address.
amount
string (numeric)
Optional. The amount to withdraw; ignored when max=true.
fee
object
Optional. A standard FeeInfo object with type-specific fee control.
max
boolean
Optional. Withdraw the maximum available amount.

Parameter* = requiredTypeDescription
coin*
string
The coin of the transaction.
fee_details*
object
Fee details of the generated transaction.
from*
array of strings
Coins are withdrawn from this address.
my_balance_change*
string (numeric)
Expected balance change in my_address after broadcast.
received_by_me*
string (numeric)
Amount received by my_address after broadcast.
spent_by_me*
string (numeric)
Amount spent by my_address (includes fees).
to*
array of strings
Coins are withdrawn to this address.
total_amount*
string (numeric)
Total amount transferred.
tx_hash*
string
Hash of the generated transaction.
kmd_rewards
object
Optional. Accrued rewards information (KMD only).
tx_hex
string
Optional. Transaction bytes in hex; used by non-SIA protocols.
tx_json
object
Optional. For SIA protocol coins only. The transaction JSON object.

Withdraw

POST
withdraw
{
  "amount": "10",
  "coin": "KMD",
  "method": "withdraw",
  "to": "RJTYiYeJ8eVvJ53n2YbrVmxWNNMVZjDGLh",
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "block_height": 0,
  "coin": "KMD",
  "fee_details": {
    "amount": "0.00001",
    "type": "Utxo"
  },
  "from": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "kmd_rewards": {
    "amount": "0.0791809",
    "claimed_by_my": true
  },
  "my_balance_change": "-10.00001",
  "received_by_me": "0.34417325",
  "spent_by_me": "10.34418325",
  "to": [
    "RJTYiYeJ8eVvJ53n2YbrVmxWNNMVZjDGLh"
  ],
  "total_amount": "10.34418325",
  "tx_hash": "3a1c382c50a7d12e4675d12ed7e723ce9f0167693dd75fd772bae8524810e605",
  "tx_hex": "0400008085202f890207a8e96978acfb8f0d002c3e4390142810dc6568b48f8cd6d8c71866ad8743c5010000006a47304402201960a7089f2d93480fff68ce0b7ca7bb7a32a52915753ac7ae780abd6162cb1d02202c9b11d442e5f72a532f44ceb10122898d486b1474a10eb981c60c5538b9c82d012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff97f56bf3b0f815bb737b7867e71ddb8198bba3574bb75737ba9c389a4d08edc6000000006a473044022055199d80bd7e2d1b932e54f097c6a15fc4b148d21299dc50067c1da18045f0ed02201d26d85333df65e6daab40a07a0e8a671af9d9b9d92fdf7d7ef97bd868ca545a012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff0200ca9a3b000000001976a91464ae8510aac9546d5e7704e31ce177451386455588acad2a0d02000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac00000000000000000000000000000000000000"
}

Withdraw

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

Response (Success)

SUCCESS
{
  "block_height": 0,
  "coin": "DOC",
  "fee_details": {
    "amount": "0.1",
    "type": "Utxo"
  },
  "from": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "internal_id": "",
  "my_balance_change": "-0.1",
  "received_by_me": "60.00253836",
  "spent_by_me": "60.10253836",
  "timestamp": 1566472936,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "60.10253836",
  "tx_hash": "1ab3bc9308695960bc728fa427ac00d1812c4ae89aaa714c7618cb96d111be58",
  "tx_hex": "0400008085202f8901ef25b1b7417fe7693097918ff90e90bba1351fff1f3a24cb51a9b45c5636e57e010000006b483045022100b05c870fcd149513d07b156e150a22e3e47fab4bb4776b5c2c1b9fc034a80b8f022038b1bf5b6dad923e4fb1c96e2c7345765ff09984de12bbb40b999b88b628c0f9012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac8cbaae5f010000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ace87a5e5d000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762937446,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "fc529a042cb59734ff8640ce80e93e2500c4c65cca7720ad7de081d4c5244578",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022038c667809431011eea1f8a4cd64e28613613f2716df5b02bfa4eec818e4acc1c022077da58037f9f17a9af0e33ede490bb12ed22e9c105634b28ebad6eeedc61dc0801210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac664a1469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762938672,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "ce6d2b5c632408f83dc9f114378baf121445cb16b83644fb022b7506c928bbb6",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a47304402207dfffb16841491f9a142aad7dba3e7037a0b0e496103e5a3176d42538d7b5b3702206b11a5b8faf453fd59b0f66065fe2f1439ceefdd85b3a5c4403dc08f7ed0dc8401210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac304f1469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762939658,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "a93c2eca0785d317fbf1eb86f8f241658d91a75ce69162113a1e2fb71c8ea541",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022047baf0cfd35589f3327da2cbd48c5f8554288be987d48f8dd83a289d80b7908f02207101403a8a980a0fc959931e7ed07cf058b8029a3aa9a98d3bacaf20542287cf01210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac0a531469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762940651,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "862969bff0bacbab49dcdb06938e1ffbdaafddcc5c50c96e94a74615a9f0c96e",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022067aeae10e76e8d89c20111d8bc39c02c8ce1ccfca5abea1fc6a04f273e7d423102206e51bedb2c78b61b879e56ae9b8642283c97cdbef9c9f57d0a0fbf0768804a7701210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88aceb561469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762942483,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "c539484e87bb7f0b1e0181589d5a7701c0d1ff64b6e4856718192a3a46a33b32",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022003dad4021cda105b9eb4ff24142dcf34cf1e73ac9b3045997ba78e5e2f0410d202201a1edf942addbdcf5f5adec52932c20c7811207f65f2c8b17b569ba1a03c665d01210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac135e1469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1763111256,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "f4734d8b7bfbade0b51ffac1e5e4fd223a52ed8841ea5e7754dead8a2ecf9bc4",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022074597e7516361305d62ea0763f16166426374fdd08e33849a87d51507e55960d022001f767e74aa76dda41cf9b7147096b3225fc637bb11e889ad6f5d90ec4a33df301210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac58f11669000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1763119753,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "d0eb27a4cdd031853557fd4206ed9faeed3a14ac87cec015c6e75472ce7ed6a2",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022016ff5d973d369780aee3e318ad79f77456b78b9fc7eaae49f42a701da834f17602205d21fcc5c147466cc7e282c2099c7839eed7258cac8880381e715950539e6d6b01210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac89121769000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1763120392,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "3745276ba724d7bdc1e2c79b12afe3df405b28d6fc3ab1e592dae7ef2efddc13",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a4730440220604a36f7f4c7842beb937af0489248ee2806f5b9a78b00b5911d2557f20643b802206a89307494559e870452bce27bf36a38cbc56e2a30c11f1726ca2d9629b2687f01210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac30ef4f27000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac08151769000000000000000000000000000000"
}

{ "error": "utxo:1295] Unsupported input fee type" }

Withdraw

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

Response (Success)

SUCCESS
{
  "block_height": 0,
  "coin": "DOC",
  "fee_details": {
    "amount": "0.38378905",
    "type": "Utxo"
  },
  "from": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "internal_id": "",
  "my_balance_change": "-0.38378905",
  "received_by_me": "59.61874931",
  "spent_by_me": "60.00253836",
  "timestamp": 1566473421,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "60.00253836",
  "tx_hash": "fd115190feec8c0c14df2696969295c59c674886344e5072d64000379101b78c",
  "tx_hex": "0400008085202f890258be11d196cb18764c71aa9ae84a2c81d100ac27a48f72bc6059690893bcb31a000000006b483045022100ef11280e981be280ca5d24c947842ca6a8689d992b73e3a7eb9ff21070b0442b02203e458a2bbb1f2bf8448fc47c51485015904a5271bb17e14be5afa6625d67b1e8012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff58be11d196cb18764c71aa9ae84a2c81d100ac27a48f72bc6059690893bcb31a010000006b483045022100daaa10b09e7abf9d4f596fc5ac1f2542b8ecfab9bb9f2b02201644944ddc0280022067aa1b91ec821aa48f1d06d34cd26fb69a9f27d59d5eecdd451006940d9e83db012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788acf31c655d010000001976a91405aab5342166f8594baf17a7d9bef5d56744332788accd7c5e5d000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762937447,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "025b982ae830639f3b69bac86465a133a3a0c76da35aea5a93294991ed7041c9",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022003b097a20c2433fccade1c156cd8425fb823e8e076c5a25d5b493cd91f8a9ed102202e288f5495463a025b72237a3bf6b683318fb819538fc4a0132b81ea9e097a4901210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac674a1469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762938673,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "b30ddaaa8dd802235b5a8baed536a20f3422e91b34de41538c929363f838c682",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a47304402205c48d1b78ccb74ad2efa91df1f3e5ec4a6347cdc278d70f214ff823460e828cd02204d47556c27c829534c20d0fe09c4bf696a8bdeec92a241eeb5b14a32fa0c882501210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac314f1469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762939659,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "94079ea544f8ea26ccdf780d9f4258c484049444d2ad8801e13a971f1d8900eb",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022047905448945031d8fcf304135a129d27b13899a72c72ee1339f2c6b7362f299a0220648e647c886b14f6827a83db532a7b0d29c9181815835566764d9985e6b42b2201210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac0b531469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762940652,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "c8b5ab3732ce475cb3128ebf4af2c6a101ab7bf9d37ed637bcc441c8461c1f71",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a4730440220220940e6b143409896846c013b08b0ef16804beb61f96267b7b4b30d5f120770022039c226a71ac831943711a472e8adb5c4b84cc1a481e5470de49ca7933101e97c01210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88acec561469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1762942484,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "5e8d4a4ccb34a96848409f148ecd54c1b4873927bf5476f9a926d28f20481f3a",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a47304402201b5bb119ee99853f5d12f6fa450e7f227916f9fb97b44c9fc2db4def314ef22b022054b4383dbca61fe4fc57d2d49e151f313bbb981c80d65d304e5bed7348d91a9301210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac145e1469000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1763111257,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "3d31580d82ca04584d0acb724ffe76f4c0e25c6c0f6163dc83531bd92d0780d2",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a4730440220715512ab3bafddb443c45b7250765bba6645634ecdcc3c7b6fc14201cc1a6252022001d712c78954e7b76f9e4b0453e444d4261c419549a24abd8f0350a18cbd0f4d01210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac59f11669000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1763119754,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "68893583f2998094e2a3aa3ac40b39432fa0e41e425105a31af4e9112d889e97",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a47304402200653604527e5c450fef5e1ab2f82bcc2e4cd1640a55b8a3bab0df7ccb7ec55d40220642fcaae56b45b49c8fdeddd10042c7951b697969bb0d6573319c2fc7111f39301210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac8a121769000000000000000000000000000000"
}

Response (Success)

SUCCESS
{
  "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": 1763120393,
  "to": [
    "R9o9xTocqr6CeEDGDH6mEYpwLoMz6jNjMW"
  ],
  "total_amount": "7.62",
  "transaction_type": "StandardTransfer",
  "tx_hash": "db562244b1c0c949dbaa05bc02e27d29343c38a17bb54da40bb099996207840b",
  "tx_hex": "0400008085202f8901b55ee690006ab4ace862ad2fe52f75ce0a5334bee9c38e82082b6e569f72248f000000006a473044022060f05ba767579395fa90a4a739f34e222cb9aee1d3cd84a8b867e30acfb95a6302207516240c974914f182d42ff2d88043d760c3b521e47fdc6674d6475f7fbf6beb01210388533bd49d81742f1598b9048921646f08d06dcd31d38f7e37cca79f64b977c4ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac607aff25000000001976a91432d43e7ba0f08d320a22440e55b842407f481ebf88ac09151769000000000000000000000000000000"
}

{ "error": "utxo:1295] Unsupported input fee type" }

Withdraw

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

Response (Success)

SUCCESS
{
  "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
{
  "amount": "AMOUNT",
  "coin": "COIN_NAME",
  "fee": {
    "gas": 55000,
    "gas_price": "3.5",
    "type": "EthGas"
  },
  "method": "withdraw",
  "to": "RECIPIENT_ADDRESS",
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "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"
}

{ "error": "eth:369] Unsupported input fee type" }

Withdraw

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

Response (Success)

SUCCESS
{
  "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
{
  "amount": 10,
  "coin": "QRC20",
  "method": "withdraw",
  "to": "qHmJ3KA6ZAjR9wGjpFASn4gtUSeFAqdZgs",
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "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
{
  "amount": 10,
  "coin": "QRC20",
  "fee": {
    "gas_limit": 250000,
    "gas_price": 40,
    "type": "Qrc20Gas"
  },
  "method": "withdraw",
  "to": "qHmJ3KA6ZAjR9wGjpFAS4gtUSeFAqdZgs",
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "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"
}