NAV
shell php javascript java csharp ruby python go

Monero APIs

Blockchain information

curl -X GET 'https://api.blocksdk.com/v2/xmr/info' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$blockChain = $xmrClient->getBlockChain();
var blockChain = xmrClient.getBlockChain()
blockChain = xmrClient.getBlockChain()
blockChain = xmrClient.getBlockChain()
blockChain := xmrClient.GetBlockChain()

Response Body

{
    "payload": {
        "network": "mainnet",
        "currency": "XMR",
        "last_block_height": 2272715,
        "last_block_hash": "404aee279d461fa5ae841918630837dd669b591283444c8fa1b758cf90f1b141",
        "last_block_datetime": "2021-01-12T07:04:22+00:00",
        "last_block_timestamp": 1610435062,
        "prev_block_height": 2272714,
        "prev_block_hash": "a307a1e954ca3da8bb36d48b51738048b45a28cecf74e68c4086190a9ff95988",
        "prev_block_datetime": "2021-01-12T06:59:09+00:00",
        "prev_block_timestamp": 1610434749,
        "low_fee_per_kb": 1.6e-5,
        "medium_fee_per_kb": 3.2e-5,
        "high_fee_per_kb": 4.8e-5,
        "unconfirmed_count": 12
    },
    "state": {
        "code": 200,
        "success": true
    }
}

Info

Returns information about the Monero blockchain.

HTTP Request

GET https://api.blocksdk.com/v2/xmr/info

Response

Variable Type Description
unconfirmed_count int Memory pool transaction count
low_fee_per_kb double Low fees per kb
medium_fee_per_kb double Medium fees per kb (3~6 Block)
high_fee_per_kb double High fees per kb (1~2 Block)

Block information

curl -X GET 'https://api.blocksdk.com/v2/xmr/blocks/845348' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$block = $xmrClient->getBlock([
    "block" => 845348,
    "rawtx" => false,
    "offset" => 0,
    "limit" => 10
]);
var block = xmrClient.getBlock({
    "block" : 845348,
    "rawtx" : false,
    "offset" : 0,
    "limit" : 10
})
block = xmrClient.getBlock({
    "block" => 845348,
    "rawtx" => false,
    "offset" => 0,
    "limit" => 10
})
block = xmrClient.getBlock({
    "block" : 845348,
    "rawtx" : false,
    "offset" : 0,
    "limit" : 10
})
block := xmrClient.GetBlock(map[string]interface{}{
      "block" : 845348,
      "rawtx" : false,
      "offset" : 0,
      "limit" : 10
})

Response Body

{
    "payload": {
        "hash": "4fb13ebad3f3ba7964f3c96ae07a9a3f87bf9422d97fab6fe78db20facccfb5d",
        "height": 845348,
        "timestamp": 1448703684,
        "datetime": "2015-11-28T09:41:24+00:00",
        "miner": {
            "tx_hash": "ba0b0ec8f1e9207de031d97dc948ec25490e2cf4b27bc0450dc922406b5483da",
            ...
        },
        "transactions": [
            "9800ec6a77962732b04f9398a16f8e6d653b50f6808b48a792de17cc2c99bb22"
        ],
        "transaction_count": 1,
        "input_count": 22,
        "output_count": 6,
        "fee_per_kb": 0,
        "total_fee": 0,
        "reward": 7.90635991,
        "size": 2800,
        "confirmations": 1426597,
        "prev_block_hash": "029936d338816c43f3d2c57fa7ee265349b47e7edd612fe007c189b0ab37b6b2",
        "prev_block_timestamp": 1448703689,
        "prev_block_datetime": "2015-11-28T09:41:29+00:00",
        "next_block_hash": "eb9e0a114a6d4ec290958558b18961c71b1bf83fdced3a322e7731a26a815429",
        "next_block_timestamp": 1448703689,
        "next_block_datetime": "2015-11-28T09:41:29+00:00"
    },
    "state": {
        "code": 200,
        "success": true
    }
}

Info

Return information about a specific block

HTTP Request

GET https://api.blocksdk.com/v2/xmr/blocks/<block>

URL Parameters

Parameter Type Description
block* string Block height or block hash

Query Parameters

Parameter Type Default Description
rawtx boolean false If true, return transaction details
offset int 0 Sequential index number at the beginning of the list of items for a given criterion
limit int 10 Limit number of item lists for a given criterion

Response

Variable Type Description
hash string Block Hash
height string Block Height
miner Object 채굴 거래 정보
transactions array List of transactions contained in the block
transaction_count int Total number of transactions in the block
input_count int Total number of inputs of transactions included in the block
output_count int Total number of outputs of transactions included in the block
fee_per_kb double Average Fee per kb of transactions included in the block
total_fee double Total fee for all transactions included in the block
reward double Block Mining Amount
size int Block Size
datetime string Block creation date and time
timestamp int Block creation date and time

List of memory pool transactions

curl -X GET 'https://api.blocksdk.com/v2/xmr/mempool' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$pool = $xmrClient->getMemPool([
    "rawtx" => false,
    "offset" => 0,
    "limit" => 10
]);
var mempool = xmrClient.getMemPool({
    "rawtx" : false,
    "offset" : 0,
    "limit" : 10
})
mempool = xmrClient.getMemPool({
    "rawtx" => false,
    "offset" => 0,
    "limit" => 10
})
mempool = xmrClient.getMemPool({
    "rawtx" : false,
    "offset" : 0,
    "limit" : 10
})
mempool := xmrClient.GetMemPool(map[string]interface{}{
      "rawtx" : false,
      "offset" : 0,
      "limit" : 10
})

Response Body


{
    "payload": {
        "transactions": 29,
        "transaction_count": [
            "272bc091133e6d313b61f9d7c5f10b926b1a43c4542584008010b3b3bf0c6d10",
            "0d3908853ecc5865376b648c2524af4e9508fa90c392ed8163eb8f45f2574a15",
            ...
        ]
    },
    "state": {
        "code": 200,
        "success": true
    }
}

Info

Returns a list of transactions in the memory pool.

HTTP Request

GET https://api.blocksdk.com/v2/xmr/mempool

Query Parameters

Parameter Type Default Description
offset int 0 Sequential index number at the beginning of the list of items for a given criterion
limit int 10 Limit number of item lists for a given criterion

Response

Variable Type Description
transactions array List of transactions with memory pool
transaction_count array Number of transactions included in the memory pool

Address list

curl -X GET 'https://api.blocksdk.com/v2/xmr/addresses' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$addresses = $xmrClient->getAddresses([
    "offset" => 0,
    "limit" => 10
]);
var addresses = xmrClient.getAddresses({
    "offset" : 0,
    "limit" : 10
})
addresses = xmrClient.getAddresses({
    "offset" => 0,
    "limit" => 10
})
addresses = xmrClient.getAddresses({
    "offset" : 0,
    "limit" : 10
})
addresses := xmrClient.GetAddresses(map[string]interface{}{
    "offset" : 0,
    "limit" : 10
})

Response Body

{
    "payload": [
        {
            "id": 11,
            "name": "wQzGIz4zN4Zmsj3qVT4xxUwA9tAKgw5IDLV",
            "address": "477gqRH5dPETVpiW3oCjNTc6nTX97sse21d4MSsJXTBTeSYGMDDDoksfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bT8Fqn",
            "public_spendkey": "90f1c2529852399e6a34f29b29a35cd1d8f6a2ffc3181b03b78176613ab946df",
            "public_viewkey": "d75232c4bdd808e76079cd1498e5fb15941a439cd0c173f995b2cece5165de1f",
            "datetime": "2021-01-11T05:11:31+00:00",
            "timestamp": 1610341891
        }
        ...
    ],
    "state": {
        "code": 200,
        "success": true
    }
}

Info

Returns the created address list.

HTTP Request

GET https://api.blocksdk.com/v2/xmr/addresses

Query Parameters

Parameter Type Default Description
offset int 0 Sequential index number at the beginning of the list of items for a given criterion
limit int 10 Limit number of item lists for a given criterion

Response

Variable Type Description
id int Address unique id
name string Address unique name
address string Monero Address
public_spendkey string Public Spend Key
public_viewkey string Public View Key
datetime string Address creation date and time
timestamp int Address creation date and time

Address information

curl -X GET 'https://api.blocksdk.com/v2/xmr/addresses/132?private_spend_key=4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$addressInfo = $xmrClient->getAddressInfo([
    "address_id" => 132,
    "private_spend_key" => "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "offset" => 0,
    "limit" => 10
]);
var addressInfo = xmrClient.getAddressInfo({
    "address_id" : 132,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "offset" : 0,
    "limit" : 10
})
addressInfo = xmrClient.getAddressInfo({
    "address_id" => 132,
    "private_spend_key" => "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "offset" => 0,
    "limit" => 10
})
addressInfo = xmrClient.getAddressInfo({
    "address_id" : 132,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "offset" : 0,
    "limit" : 10
})
addressInfo := xmrClient.GetAddressInfo(map[string]interface{}{
    "address_id" : 132,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "offset" : 0,
    "limit" : 10
})

Response Body

{
    "payload": {
        "address": "48XyZPJX1ho8d7i4DfZN2cDDGbZ4kBAhaFF7GM3VwBxwQj37D24mwpTfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4XEqXui",
        "transactions": [
            {
                "amount": 0.002,
                "tx_hash": "c3948b8ed771370449fc8664db6534843b920f4cbb1e30e0ef472df657f7066d",
                "type": "spent",
                "timestamp": 1608179020,
                "datetime": "2020-12-17T04:23:40+00:00"
            },

           ...

        ],
        "transaction_count": 9,
        "received_count": 1,
        "total_received": 0.99889999,
        "spent_count": 8,
        "total_spent": 5.876947,
        "balance": 0.00181343,
        "unspent_output_count": 1,
        "datetime": "2020-11-04T06:12:35+00:00",
        "timestamp": 1604470355
    },
    "state": {
        "code": 200,
        "success": true
    }
}

Info

Returns information about a specific address.

HTTP Request

GET https://api.blocksdk.com/v2/xmr/addresses/<address_id>

URL Parameters

Parameter Type Description
address_id* string Return information for this address id.

Query Parameters

Parameter Type Default Description
password string --- Loaded addresses require this password.
private_spend_key string --- This is a required value for addresses that cannot be loaded. This is the private_spend_key returned when creating the address.
offset int 0 Sequential index number at the beginning of the list of items for a given criterion
limit int 10 Limit number of item lists for a given criterion

Response

Variable Type Description
address string Monero Address
transactions array Address transaction list
transaction_count int Address Transaction Count
received_count int Number of transactions received
total_received double Total amount of transactions received
spent_count int Number of transactions sent
total_spent double Total amount of transactions sent
balance double Remaining balance
unspent_output_count int Number of transactions available
datetime string Address creation date and time
timestamp int Address creation date and time

Address generation

curl -X POST 'https://api.blocksdk.com/v2/xmr/addresses' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$address = $xmrClient->createAddress([
    "name" => "test address"
]);
var address = xmrClient.createAddress({
    "name" : "test address"
})
address = xmrClient.createAddress({
    "name" => "test address"
})
address = xmrClient.createAddress({
    "name" : "test address"
})
address := xmrClient.CreateAddress(map[string]interface{}{
    "name" : "test address"
})

Response Body

{
    "payload": {
        "id": 14,
        "address": "452ongFCpBFf8QkH4pc6NnB9ZzaUTZFpa7HmSMGSxcKUTuMtUMd9VuHfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4W7tUQE",
        "private_spend_key": "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
        "public_spendkey": "59f28671e09f26e3f36f26fafb0d6b3cab5b8443197fff25999339f33f6123a0",
        "public_viewkey": "d75232c4bdd808e76079cd1498e5fb15941a439cd0c173f995b2cece5165de1f",
        "datetime": "2021-01-11T05:34:07+00:00",
        "timestamp": 1610343247
    },
    "state": {
        "code": 201,
        "success": true
    }
}

Info

Create an address.

HTTP Request

POST https://api.blocksdk.com/v2/xmr/addresses

Body Parameters

Parameter Type Default Description
name string random Wallet name

Response

Variable Type Description
address string Monero Address
private_spend_key string Secret transport key. This value is not stored on the server for security and stability reasons, so it cannot be recovered when lost. Be careful not to lose it.
public_spendkey string Public Spend Key
public_viewkey string Public View Key
datetime string Address creation date and time
timestamp int Address creation date and time

Address Load

curl -X POST 'https://api.blocksdk.com/v2/xmr/addresses/14/load' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token' \
    -d '{"private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02","password":"asdasd1234"}' 
$load = $xmrClient->loadAddress([
    "address_id" => 14,
    "private_spend_key" => "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "password" => "asdasd1234"
]);
var load = xmrClient.loadAddress({
    "address_id" : 14,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "password" : "asdasd1234"

})
load = xmrClient.loadAddress({
    "address_id" => 14,
    "private_spend_key" => "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "password" => "asdasd1234"

})
load = xmrClient.loadAddress({
    "address_id" : 14,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "password" : "asdasd1234"
})
load := xmrClient.LoadAddress(map[string]interface{}{
    "address_id" : 14,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "password" : "asdasd1234"
})

Response Body

{
    "payload": {
        "id": 14,
        "loaded": true
    },
    "state": {
        "code": 201,
        "success": true
    }
}

Info

Load a specific address.

The loaded address can create transactions with a password without a private_spend_key.

HTTP Request

POST https://api.blocksdk.com/v2/xmr/addresses/<address_id>/load

URL Parameters

Parameter Type Description
address_id* int Address to load id

Body Parameters

Parameter Type Description
password* string Loaded addresses require this password when creating a transaction.
private_spend_key* string This is the private_spend_key returned when creating the address.

Response

Variable Type Description
id int Address unique id
loaded boolean Loading state

Address unload

curl -X POST 'https://api.blocksdk.com/v2/xmr/addresses/14/unload' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$unload = $xmrClient->unloadAddress([
    "address_id" => 14
]);
var unload = xmrClient.unloadAddress({
    "address_id" : 14
})
unload = xmrClient.unloadAddress({
    "address_id" => 14
})
unload = xmrClient.unloadAddress({
    "address_id" : 14
})
unload := xmrClient.UnloadAddress(map[string]interface{}{
    "address_id" : 14
})

Response Body

{
    "payload": {
        "id": 14,
        "loaded": false
    },
    "state": {
        "code": 201,
        "success": true
    }
}

Info

Unload the loaded address.

HTTP Request

POST https://api.blocksdk.com/v2/xmr/addresses/<address_id>/unload

URL Parameters

Parameter Type Description
address_id* int Address to unload id

Response

Variable Type Description
id int Address unique id
loaded boolean Loading state

Address balance

curl -X GET 'https://api.blocksdk.com/v2/xmr/addresses/14/balance?private_spend_key=4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$balance = $xmrClient->getAddressBalance([
    "address_id" => 14,
    "private_spend_key" => "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02"
]);
var addressBalance = xmrClient.getAddressBalance({
    "address_id" : 14,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02"
})
addressBalance = xmrClient.getAddressBalance({
    "address_id" => 14,
    "private_spend_key" => "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02"
})
addressBalance = xmrClient.getAddressBalance({
    "address_id" : 14,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02"
})
addressBalance := xmrClient.GetAddressBalance(map[string]interface{}{
    "address_id" : 14,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02"
})

Response Body

{
    "payload": {
        "balance": 0,
        "unconfirmed_balance": 0,
        "unspent_output_count": 0
    },
    "state": {
        "code": 200,
        "success": true
    }
}

Info

Returns the balance for a specific address.

HTTP Request

GET https://api.blocksdk.com/v2/xmr/addresses/<address_id>/balance

URL Parameters

Parameter Type Description
address_id* string Return information for this address id.
password string If the address is loaded, you can check it with the password.
private_spend_key* string This is the private_spend_key returned when creating the address.

Response

Variable Type Description
balance double Remaining balance
unconfirmed_balance double Total amount not included in block
unspent_output_count int Number of transactions available

Send address amount

curl -X GET 'https://api.blocksdk.com/v2/xmr/addresses/21/sendtoaddress' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token' \
    -d '{
        "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
        "address":"4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
        "amount":0.08995717
    }'  
$tx = $xmrClient->sendToAddress([
    "address_id" => 21,
    "private_spend_key" => "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "address" => "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" => 0.08995717
]);

or

$tx = $xmrClient->sendToAddress([
    "address_id" => 21,
    "password" => "asdasd123",
    "address" => "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" => 0.08995717
]);
var tx = xmrClient.sendToAddress({
    "address_id" : 21,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "address" : "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" : 0.08995717
})

or

var tx = xmrClient.sendToAddress({
    "address_id" : 21,
    "password" : "asdasd123",
    "address" : "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" : 0.08995717
})
tx = xmrClient.sendToAddress({
    "address_id" => 21,
    "private_spend_key" => "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "address" => "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" => 0.08995717
})

or

tx = xmrClient.sendToAddress({
    "address_id" => 21,
    "password" => "asdasd123",
    "address" => "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" => 0.08995717
})
tx = xmrClient.sendToAddress({
    "address_id" : 21,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "address" : "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" : 0.08995717
})

or

tx = xmrClient.sendToAddress({
    "address_id" : 21,
    "password" : "asdasd123",
    "address" : "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" : 0.08995717
})
tx := xmrClient.SendToAddress(map[string]interface{}{
    "address_id" : 21,
    "private_spend_key" : "4d61c498ddc54075e329c89bfd1da0b2120a65d30a40168b338a967bd2274d02",
    "address" : "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" : 0.08995717
})

or

tx := xmrClient.SendToAddress(map[string]interface{}{
    "address_id" : 21,
    "password" : "asdasd123",
    "address" : "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e",
    "amount" : 0.08995717
})

Response Body

{
    "payload": {
        "tx_hash": "0912d3b33918d0d8b12854caeb31642a683239574ad9aa3e61d23fd0181d8a2b",
        "tx_key": "bda0d0790ea663d7720553bc9031827c668a1b15879de544113d8d247b72f709",
        "version": 2,
        "size": 1975,
        "inputs": [
            {
                "tx_hash": "b42fd9b843da2e33c8682f511f28e05a5cf4509874fc0f1b0ca7f3cd08028089",
                "output_index": 1,
                "value": 0.0008767,
                "key_image": "f3545f4b50eaba7b315f598acc0e47ffeccdcd8ca894f41c1229e0b14d0a6faf"
            },
            {
                "tx_hash": "4448ecd560943dcc2f809c6389b61b17fae9bb2a1548579176a49a02fc970532",
                "output_index": 0,
                "value": 0.08995717,
                "key_image": "6695c11f0cb7462834ba77544a5308624749522b7ddc558778bd25b1d3a17011"
            }
        ],
        "input_count": 2,
        "total_input": 0.09083387,
        "outputs": [
            {
                "amount": 0,
                "target": {
                    "key": "c0a9a7f89f7268f22887f212b1e07437dab1da4519f385858c942aa31a5acb2e"
                }
            },
            {
                "amount": 0,
                "target": {
                    "key": "5737461900d4036fd40b878db6c7c8d07d4f748db1725ea6ba0fe1959ff5a331"
                }
            },
            {
                "value": 0.08995717,
                "key": "c0a9a7f89f7268f22887f212b1e07437dab1da4519f385858c942aa31a5acb2e",
                "address": "4AbhsqyA4XPiMpFXGiEsBJRRKU3npYWRTGwmnXrz74syWuyzitN2SibfheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4bWy73e"
            },
            {
                "value": 0.00083387,
                "key": "5737461900d4036fd40b878db6c7c8d07d4f748db1725ea6ba0fe1959ff5a331",
                "address": "45ekpnUnsgicwLRcfv1PJAMj9nymhWG5cByg7Zz5Ew694pb4Yxd5ayufheRzvD8Dzi4cLeVL9jzTUikHX74a5Hem4YPNiBz"
            }
        ],
        "output_count": 4,
        "total_output": 0.08992557,
        "fee": 3.16e-5,
        "fee_per_kb": 1.6e-5,
        "unlock_block_height": 0,
        "extra": [
            ...
        ],
        "rct_signatures": {
            "type": 5,
            "txnFee": 31600000,
            "ecdhInfo": [
                {
                    "amount": "8fe6f0a1e38be3fc"
                },
                {
                    "amount": "9a09079bc2efcda7"
                }
            ],
            "outPk": [
                "cfa3290db7db0cf6ed3aad90fdd0fbae0a8b01d2d229512b29148fff70571627",
                "5028213ac7631b920a4f31ecd9c8e687e824a60c0b2981719664f390633ea936"
            ]
        },
        "rctsig_prunable": {
           ...
        }
    },
    "state": {
        "code": 201,
        "success": true
    }
}

Info

Send the amount to a specific address.

HTTP Request

POST https://api.blocksdk.com/v2/xmr/addresses/<address_id>/sendtoaddress

URL Parameters

Parameter Type Description
address_id* int Address to which to send the amount id

Body Parameters

Parameter Type Default Description
password string --- If the address is loaded, you can send the amount by password.
private_spend_key string --- This value is mandatory if the address is not loaded. Issued when an address is created.
address* string --- Address to receive coin
amount* double --- Amount to send
kbfee double --- Fee per kb

Response

Transaction Object

Send Transaction

curl -X POST 'https://api.blocksdk.com/v2/xmr/transactions/send' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token' \
    -d '{"hex":"02000202000bad91af09ac94c702b2f026d9b303c103fb69c25ca8018608ab0ed20e3f996f848afb76134d18ddd2568e988fcd066f68a5b96b0e02fe2b7e7f0d2a7c02000b81fc840cce9811f25ec39f01baa806cf61fa5fc9aa0248d20387061ee47f7f173f7d40e2bf34aeda67b7f66ef49f1150188af43f6b5eaca8a76eb80200023a396c70fb8d01062a0771bacf44c64c371c769ee8e7a6d597725862285113e10002fe483468f4237ce60a9ab742863eb7c5c05c0508808c815835112530d53b7d412c01f527b0f990deab0d9cd4be425dcb90c1b66a531f60d30f9614e2fc16aed5ddd302090146898d93bab319b305d0ecc90787bc98c9bdfd9d280951b667ed25c0afea9345f1375598261d23a94a8ba8cda8610b7f1b3f392d0c76058458adce8b1088079a132e5522ccaf78439a1b024996ff958b6d37588881b342255b36e8826101c1d361f0eb34300df0ca0c17b1ac2b4c68150a0090ccca6d78503b5a5028bf1cd1723fff4c960186fbc048e3d206fcfe535db983f80fb5d42686a95ac3a8aea35950064fd3cd93f5faefdda2f70c41ce97e88bbb677b67a96b884138379d067993c9bc1e15ca657f2eadb1bfab0ed47709b45c17abeb5f2702ace4ecbd41e0e5b2946047f96c0a0be7601affa8a78630f46a0d06537597af9e9c60b9abb6d40ebbb7d93ecb03568962954592b47ff69a6be530a23cb6a1573481d6305d36420007fd6e942c1c16232c1d8613feee3f40d186d3e2042e5a459f92186f19639a8310288889dcc543823160c38a832a7aa8c35cca43113dd451d0025a84c10302dd11732b748175f2303d6fdb2d5625640444dcee28a944f1f4515b37d1b1a3652b5d30516eaefd2efdeab1781f2c14b3fef741c386dd4fdadce89474c097f26a2c87cd215adf9e7fb74dfdffa613798f8092a5b9532f262417ffd6fd6a85d7c0ee92a456d277b78bd269ecb9a6a80258cc28a7f054de4ad4a5d7b7da6632d1e802541577ef2171ea4069577c74b768faa8b57221fa14b6a36868440f8bbb40f879fe07e26d7a938d2092131a41596f87cdfaaff0129ae8d1c00214b519003f158656b9497368faa8e4c387ec7040f44a0df1ddd2cea67ca09baef163eed4d0b3c85d2e02f6e3ac82c18187f0cf248680ddd365d915c23467377f0bbab9f3b7b4504da2f0c1165b73e93645938bb7deb51fd5ba7085abecc0562858fc49303df9c012c9088fce405af3e02565042b767620c43614749bb77987368b4c6dd0f775ccda321dc02b0762a77aaae862d5cd4008332cb8f71bc6b75b268249e901cecb6fa14f431700bb213c4959968b1e4834b5d92090f896cc2c6e7f1f00c2742f2a8f480f0cc7656472feaa15d8b4c9c5c87a93cd9dee10bbe991869761f3276e955f8f0cf6f8cb0e5e0b415433fc6aa8c8de31cd9b7bd59a724aca66745bc4eda000b40de9e69da9b0e52ccc86a97bf7cb3d2e755865ae088a616b5dc28b7268bb3cd405af4edfa0bb4e402bdc5618a8b06ef5e363820630beaab904077e35213690bf0b6402f4aaed9a6d83df706ce7171d7fba8cee68e80faa07b20127c0a568c8a70cf236e4512111b6b143200b50ddfedf2b8d072d27401d464448c62ae6222951081a41ce6c5cd06f29608b3b8b8f09d8851eb688f35f334c66fe7d5e65b4e5030270004a3ad7fa003e4ba36f8fcc113babbf16ce0504addcbf0464b609bdb05207d107092c53c1a700bbc470a1e50c7d804024c118d3a76089967333fa1eec270a8f70ec493a341273dfccf18ec223051e81641c0e90ef487c98e6e17bd9464c0fc6b1abb99c2fc53f411022e061aca8fc4675d4ec926742a63cfcebb6cc22c705551fdd2013238a775841c10f949a40862bd00dd404edf98b533807bd93b9f00d7275ae458ed136d8035cd167549e8fff63d2c7ac52acba4321dae5e44c16d30611db54085513d985bd765d1ac18cb02e736fb7006fc5c0d34056f0259d249c0b31511dfdfad83b9aad8e2ba6f909ed6b7188781ea6f049793350f2626748760d1587a2a306246c792797b266ebd51dfd5833065059f89c327f19e77f207df9fecfcefce19387fe4b047ec03bc05ba6f7801c7a11ce2a3572bfb99de8b723000ef9c853e7170d0c6de9f63e1eb7af005fec647f4d40da7655557136a64c9a89091859632bbd0a26f2b041480c47517b31a8db54f0d4ee65aa692104c0f3b2a50fc4767096e40070814aff8c814ba6d0a21dbe03061fc92c59995f81fc743f290467b2ae028726e217ff597496984a8d8bf09d9069cb074af267ad92c08bc39809f4cca9a2ee97f8b3351c62c0fe5ffb8b3da80a01f524348a6cafc73d60a8360505e63a6363f0fabcf6085c02e3f52b135c1e9b3179b314d589c8dd23382f3e00e369afa6db5cee75b2f7af1fa5f3f0246e54e585a4a4919ffc57b7e7a6c7a6050be7cf698b84ba925b2b20cd6ff886af33f3e94b444512ea6fd1a213614b130550faa762d1036427046648152c30ea0e12b3f21e1fb697c2b7bbc406a349ca02ff9b3c5e68474f5b7161eceba5eb4694f64d74c6676eada913cb002df1f5630a7ddff959805b67c57c3c555b774f64859de8bd95ff2f1e601bc73bcf93ac070acfe25d0567aaaaa75c8bc6419cfc0ab0b1911713b5522507e29c88c8852b7598b4f7be39a0da1ed4da0e893407830a6af1150d4b48e97c91cb43c79b99032ab330866b7028fd2761b25e0632cf3ab189289b465c4f25c1531e296b04e630ddac"}'
$tx = $xmrClient->sendTransaction([
    "hex" => "02000202000bad91af09ac94c702b2f026d9b303c103fb69c25ca8018608ab0ed20e3f996f848afb76134d18ddd2568e988fcd066f68a5b96b0e02fe2b7e7f0d2a7c02000b81fc840cce9811f25ec39f01baa806cf61fa5fc9aa0248d20387061ee47f7f173f7d40e2bf34aeda67b7f66ef49f1150188af43f6b5eaca8a76eb80200023a396c70fb8d01062a0771bacf44c64c371c769ee8e7a6d597725862285113e10002fe483468f4237ce60a9ab742863eb7c5c05c0508808c815835112530d53b7d412c01f527b0f990deab0d9cd4be425dcb90c1b66a531f60d30f9614e2fc16aed5ddd302090146898d93bab319b305d0ecc90787bc98c9bdfd9d280951b667ed25c0afea9345f1375598261d23a94a8ba8cda8610b7f1b3f392d0c76058458adce8b1088079a132e5522ccaf78439a1b024996ff958b6d37588881b342255b36e8826101c1d361f0eb34300df0ca0c17b1ac2b4c68150a0090ccca6d78503b5a5028bf1cd1723fff4c960186fbc048e3d206fcfe535db983f80fb5d42686a95ac3a8aea35950064fd3cd93f5faefdda2f70c41ce97e88bbb677b67a96b884138379d067993c9bc1e15ca657f2eadb1bfab0ed47709b45c17abeb5f2702ace4ecbd41e0e5b2946047f96c0a0be7601affa8a78630f46a0d06537597af9e9c60b9abb6d40ebbb7d93ecb03568962954592b47ff69a6be530a23cb6a1573481d6305d36420007fd6e942c1c16232c1d8613feee3f40d186d3e2042e5a459f92186f19639a8310288889dcc543823160c38a832a7aa8c35cca43113dd451d0025a84c10302dd11732b748175f2303d6fdb2d5625640444dcee28a944f1f4515b37d1b1a3652b5d30516eaefd2efdeab1781f2c14b3fef741c386dd4fdadce89474c097f26a2c87cd215adf9e7fb74dfdffa613798f8092a5b9532f262417ffd6fd6a85d7c0ee92a456d277b78bd269ecb9a6a80258cc28a7f054de4ad4a5d7b7da6632d1e802541577ef2171ea4069577c74b768faa8b57221fa14b6a36868440f8bbb40f879fe07e26d7a938d2092131a41596f87cdfaaff0129ae8d1c00214b519003f158656b9497368faa8e4c387ec7040f44a0df1ddd2cea67ca09baef163eed4d0b3c85d2e02f6e3ac82c18187f0cf248680ddd365d915c23467377f0bbab9f3b7b4504da2f0c1165b73e93645938bb7deb51fd5ba7085abecc0562858fc49303df9c012c9088fce405af3e02565042b767620c43614749bb77987368b4c6dd0f775ccda321dc02b0762a77aaae862d5cd4008332cb8f71bc6b75b268249e901cecb6fa14f431700bb213c4959968b1e4834b5d92090f896cc2c6e7f1f00c2742f2a8f480f0cc7656472feaa15d8b4c9c5c87a93cd9dee10bbe991869761f3276e955f8f0cf6f8cb0e5e0b415433fc6aa8c8de31cd9b7bd59a724aca66745bc4eda000b40de9e69da9b0e52ccc86a97bf7cb3d2e755865ae088a616b5dc28b7268bb3cd405af4edfa0bb4e402bdc5618a8b06ef5e363820630beaab904077e35213690bf0b6402f4aaed9a6d83df706ce7171d7fba8cee68e80faa07b20127c0a568c8a70cf236e4512111b6b143200b50ddfedf2b8d072d27401d464448c62ae6222951081a41ce6c5cd06f29608b3b8b8f09d8851eb688f35f334c66fe7d5e65b4e5030270004a3ad7fa003e4ba36f8fcc113babbf16ce0504addcbf0464b609bdb05207d107092c53c1a700bbc470a1e50c7d804024c118d3a76089967333fa1eec270a8f70ec493a341273dfccf18ec223051e81641c0e90ef487c98e6e17bd9464c0fc6b1abb99c2fc53f411022e061aca8fc4675d4ec926742a63cfcebb6cc22c705551fdd2013238a775841c10f949a40862bd00dd404edf98b533807bd93b9f00d7275ae458ed136d8035cd167549e8fff63d2c7ac52acba4321dae5e44c16d30611db54085513d985bd765d1ac18cb02e736fb7006fc5c0d34056f0259d249c0b31511dfdfad83b9aad8e2ba6f909ed6b7188781ea6f049793350f2626748760d1587a2a306246c792797b266ebd51dfd5833065059f89c327f19e77f207df9fecfcefce19387fe4b047ec03bc05ba6f7801c7a11ce2a3572bfb99de8b723000ef9c853e7170d0c6de9f63e1eb7af005fec647f4d40da7655557136a64c9a89091859632bbd0a26f2b041480c47517b31a8db54f0d4ee65aa692104c0f3b2a50fc4767096e40070814aff8c814ba6d0a21dbe03061fc92c59995f81fc743f290467b2ae028726e217ff597496984a8d8bf09d9069cb074af267ad92c08bc39809f4cca9a2ee97f8b3351c62c0fe5ffb8b3da80a01f524348a6cafc73d60a8360505e63a6363f0fabcf6085c02e3f52b135c1e9b3179b314d589c8dd23382f3e00e369afa6db5cee75b2f7af1fa5f3f0246e54e585a4a4919ffc57b7e7a6c7a6050be7cf698b84ba925b2b20cd6ff886af33f3e94b444512ea6fd1a213614b130550faa762d1036427046648152c30ea0e12b3f21e1fb697c2b7bbc406a349ca02ff9b3c5e68474f5b7161eceba5eb4694f64d74c6676eada913cb002df1f5630a7ddff959805b67c57c3c555b774f64859de8bd95ff2f1e601bc73bcf93ac070acfe25d0567aaaaa75c8bc6419cfc0ab0b1911713b5522507e29c88c8852b7598b4f7be39a0da1ed4da0e893407830a6af1150d4b48e97c91cb43c79b99032ab330866b7028fd2761b25e0632cf3ab189289b465c4f25c1531e296b04e630ddac"
]);
var tx = xmrClient.sendTransaction({
    "hex" : "02000202000bad91af09ac94c702b2f026d9b303c103fb69c25ca8018608ab0ed20e3f996f848afb76134d18ddd2568e988fcd066f68a5b96b0e02fe2b7e7f0d2a7c02000b81fc840cce9811f25ec39f01baa806cf61fa5fc9aa0248d20387061ee47f7f173f7d40e2bf34aeda67b7f66ef49f1150188af43f6b5eaca8a76eb80200023a396c70fb8d01062a0771bacf44c64c371c769ee8e7a6d597725862285113e10002fe483468f4237ce60a9ab742863eb7c5c05c0508808c815835112530d53b7d412c01f527b0f990deab0d9cd4be425dcb90c1b66a531f60d30f9614e2fc16aed5ddd302090146898d93bab319b305d0ecc90787bc98c9bdfd9d280951b667ed25c0afea9345f1375598261d23a94a8ba8cda8610b7f1b3f392d0c76058458adce8b1088079a132e5522ccaf78439a1b024996ff958b6d37588881b342255b36e8826101c1d361f0eb34300df0ca0c17b1ac2b4c68150a0090ccca6d78503b5a5028bf1cd1723fff4c960186fbc048e3d206fcfe535db983f80fb5d42686a95ac3a8aea35950064fd3cd93f5faefdda2f70c41ce97e88bbb677b67a96b884138379d067993c9bc1e15ca657f2eadb1bfab0ed47709b45c17abeb5f2702ace4ecbd41e0e5b2946047f96c0a0be7601affa8a78630f46a0d06537597af9e9c60b9abb6d40ebbb7d93ecb03568962954592b47ff69a6be530a23cb6a1573481d6305d36420007fd6e942c1c16232c1d8613feee3f40d186d3e2042e5a459f92186f19639a8310288889dcc543823160c38a832a7aa8c35cca43113dd451d0025a84c10302dd11732b748175f2303d6fdb2d5625640444dcee28a944f1f4515b37d1b1a3652b5d30516eaefd2efdeab1781f2c14b3fef741c386dd4fdadce89474c097f26a2c87cd215adf9e7fb74dfdffa613798f8092a5b9532f262417ffd6fd6a85d7c0ee92a456d277b78bd269ecb9a6a80258cc28a7f054de4ad4a5d7b7da6632d1e802541577ef2171ea4069577c74b768faa8b57221fa14b6a36868440f8bbb40f879fe07e26d7a938d2092131a41596f87cdfaaff0129ae8d1c00214b519003f158656b9497368faa8e4c387ec7040f44a0df1ddd2cea67ca09baef163eed4d0b3c85d2e02f6e3ac82c18187f0cf248680ddd365d915c23467377f0bbab9f3b7b4504da2f0c1165b73e93645938bb7deb51fd5ba7085abecc0562858fc49303df9c012c9088fce405af3e02565042b767620c43614749bb77987368b4c6dd0f775ccda321dc02b0762a77aaae862d5cd4008332cb8f71bc6b75b268249e901cecb6fa14f431700bb213c4959968b1e4834b5d92090f896cc2c6e7f1f00c2742f2a8f480f0cc7656472feaa15d8b4c9c5c87a93cd9dee10bbe991869761f3276e955f8f0cf6f8cb0e5e0b415433fc6aa8c8de31cd9b7bd59a724aca66745bc4eda000b40de9e69da9b0e52ccc86a97bf7cb3d2e755865ae088a616b5dc28b7268bb3cd405af4edfa0bb4e402bdc5618a8b06ef5e363820630beaab904077e35213690bf0b6402f4aaed9a6d83df706ce7171d7fba8cee68e80faa07b20127c0a568c8a70cf236e4512111b6b143200b50ddfedf2b8d072d27401d464448c62ae6222951081a41ce6c5cd06f29608b3b8b8f09d8851eb688f35f334c66fe7d5e65b4e5030270004a3ad7fa003e4ba36f8fcc113babbf16ce0504addcbf0464b609bdb05207d107092c53c1a700bbc470a1e50c7d804024c118d3a76089967333fa1eec270a8f70ec493a341273dfccf18ec223051e81641c0e90ef487c98e6e17bd9464c0fc6b1abb99c2fc53f411022e061aca8fc4675d4ec926742a63cfcebb6cc22c705551fdd2013238a775841c10f949a40862bd00dd404edf98b533807bd93b9f00d7275ae458ed136d8035cd167549e8fff63d2c7ac52acba4321dae5e44c16d30611db54085513d985bd765d1ac18cb02e736fb7006fc5c0d34056f0259d249c0b31511dfdfad83b9aad8e2ba6f909ed6b7188781ea6f049793350f2626748760d1587a2a306246c792797b266ebd51dfd5833065059f89c327f19e77f207df9fecfcefce19387fe4b047ec03bc05ba6f7801c7a11ce2a3572bfb99de8b723000ef9c853e7170d0c6de9f63e1eb7af005fec647f4d40da7655557136a64c9a89091859632bbd0a26f2b041480c47517b31a8db54f0d4ee65aa692104c0f3b2a50fc4767096e40070814aff8c814ba6d0a21dbe03061fc92c59995f81fc743f290467b2ae028726e217ff597496984a8d8bf09d9069cb074af267ad92c08bc39809f4cca9a2ee97f8b3351c62c0fe5ffb8b3da80a01f524348a6cafc73d60a8360505e63a6363f0fabcf6085c02e3f52b135c1e9b3179b314d589c8dd23382f3e00e369afa6db5cee75b2f7af1fa5f3f0246e54e585a4a4919ffc57b7e7a6c7a6050be7cf698b84ba925b2b20cd6ff886af33f3e94b444512ea6fd1a213614b130550faa762d1036427046648152c30ea0e12b3f21e1fb697c2b7bbc406a349ca02ff9b3c5e68474f5b7161eceba5eb4694f64d74c6676eada913cb002df1f5630a7ddff959805b67c57c3c555b774f64859de8bd95ff2f1e601bc73bcf93ac070acfe25d0567aaaaa75c8bc6419cfc0ab0b1911713b5522507e29c88c8852b7598b4f7be39a0da1ed4da0e893407830a6af1150d4b48e97c91cb43c79b99032ab330866b7028fd2761b25e0632cf3ab189289b465c4f25c1531e296b04e630ddac"
})
tx = xmrClient.sendTransaction({
    "hex" => "02000202000bad91af09ac94c702b2f026d9b303c103fb69c25ca8018608ab0ed20e3f996f848afb76134d18ddd2568e988fcd066f68a5b96b0e02fe2b7e7f0d2a7c02000b81fc840cce9811f25ec39f01baa806cf61fa5fc9aa0248d20387061ee47f7f173f7d40e2bf34aeda67b7f66ef49f1150188af43f6b5eaca8a76eb80200023a396c70fb8d01062a0771bacf44c64c371c769ee8e7a6d597725862285113e10002fe483468f4237ce60a9ab742863eb7c5c05c0508808c815835112530d53b7d412c01f527b0f990deab0d9cd4be425dcb90c1b66a531f60d30f9614e2fc16aed5ddd302090146898d93bab319b305d0ecc90787bc98c9bdfd9d280951b667ed25c0afea9345f1375598261d23a94a8ba8cda8610b7f1b3f392d0c76058458adce8b1088079a132e5522ccaf78439a1b024996ff958b6d37588881b342255b36e8826101c1d361f0eb34300df0ca0c17b1ac2b4c68150a0090ccca6d78503b5a5028bf1cd1723fff4c960186fbc048e3d206fcfe535db983f80fb5d42686a95ac3a8aea35950064fd3cd93f5faefdda2f70c41ce97e88bbb677b67a96b884138379d067993c9bc1e15ca657f2eadb1bfab0ed47709b45c17abeb5f2702ace4ecbd41e0e5b2946047f96c0a0be7601affa8a78630f46a0d06537597af9e9c60b9abb6d40ebbb7d93ecb03568962954592b47ff69a6be530a23cb6a1573481d6305d36420007fd6e942c1c16232c1d8613feee3f40d186d3e2042e5a459f92186f19639a8310288889dcc543823160c38a832a7aa8c35cca43113dd451d0025a84c10302dd11732b748175f2303d6fdb2d5625640444dcee28a944f1f4515b37d1b1a3652b5d30516eaefd2efdeab1781f2c14b3fef741c386dd4fdadce89474c097f26a2c87cd215adf9e7fb74dfdffa613798f8092a5b9532f262417ffd6fd6a85d7c0ee92a456d277b78bd269ecb9a6a80258cc28a7f054de4ad4a5d7b7da6632d1e802541577ef2171ea4069577c74b768faa8b57221fa14b6a36868440f8bbb40f879fe07e26d7a938d2092131a41596f87cdfaaff0129ae8d1c00214b519003f158656b9497368faa8e4c387ec7040f44a0df1ddd2cea67ca09baef163eed4d0b3c85d2e02f6e3ac82c18187f0cf248680ddd365d915c23467377f0bbab9f3b7b4504da2f0c1165b73e93645938bb7deb51fd5ba7085abecc0562858fc49303df9c012c9088fce405af3e02565042b767620c43614749bb77987368b4c6dd0f775ccda321dc02b0762a77aaae862d5cd4008332cb8f71bc6b75b268249e901cecb6fa14f431700bb213c4959968b1e4834b5d92090f896cc2c6e7f1f00c2742f2a8f480f0cc7656472feaa15d8b4c9c5c87a93cd9dee10bbe991869761f3276e955f8f0cf6f8cb0e5e0b415433fc6aa8c8de31cd9b7bd59a724aca66745bc4eda000b40de9e69da9b0e52ccc86a97bf7cb3d2e755865ae088a616b5dc28b7268bb3cd405af4edfa0bb4e402bdc5618a8b06ef5e363820630beaab904077e35213690bf0b6402f4aaed9a6d83df706ce7171d7fba8cee68e80faa07b20127c0a568c8a70cf236e4512111b6b143200b50ddfedf2b8d072d27401d464448c62ae6222951081a41ce6c5cd06f29608b3b8b8f09d8851eb688f35f334c66fe7d5e65b4e5030270004a3ad7fa003e4ba36f8fcc113babbf16ce0504addcbf0464b609bdb05207d107092c53c1a700bbc470a1e50c7d804024c118d3a76089967333fa1eec270a8f70ec493a341273dfccf18ec223051e81641c0e90ef487c98e6e17bd9464c0fc6b1abb99c2fc53f411022e061aca8fc4675d4ec926742a63cfcebb6cc22c705551fdd2013238a775841c10f949a40862bd00dd404edf98b533807bd93b9f00d7275ae458ed136d8035cd167549e8fff63d2c7ac52acba4321dae5e44c16d30611db54085513d985bd765d1ac18cb02e736fb7006fc5c0d34056f0259d249c0b31511dfdfad83b9aad8e2ba6f909ed6b7188781ea6f049793350f2626748760d1587a2a306246c792797b266ebd51dfd5833065059f89c327f19e77f207df9fecfcefce19387fe4b047ec03bc05ba6f7801c7a11ce2a3572bfb99de8b723000ef9c853e7170d0c6de9f63e1eb7af005fec647f4d40da7655557136a64c9a89091859632bbd0a26f2b041480c47517b31a8db54f0d4ee65aa692104c0f3b2a50fc4767096e40070814aff8c814ba6d0a21dbe03061fc92c59995f81fc743f290467b2ae028726e217ff597496984a8d8bf09d9069cb074af267ad92c08bc39809f4cca9a2ee97f8b3351c62c0fe5ffb8b3da80a01f524348a6cafc73d60a8360505e63a6363f0fabcf6085c02e3f52b135c1e9b3179b314d589c8dd23382f3e00e369afa6db5cee75b2f7af1fa5f3f0246e54e585a4a4919ffc57b7e7a6c7a6050be7cf698b84ba925b2b20cd6ff886af33f3e94b444512ea6fd1a213614b130550faa762d1036427046648152c30ea0e12b3f21e1fb697c2b7bbc406a349ca02ff9b3c5e68474f5b7161eceba5eb4694f64d74c6676eada913cb002df1f5630a7ddff959805b67c57c3c555b774f64859de8bd95ff2f1e601bc73bcf93ac070acfe25d0567aaaaa75c8bc6419cfc0ab0b1911713b5522507e29c88c8852b7598b4f7be39a0da1ed4da0e893407830a6af1150d4b48e97c91cb43c79b99032ab330866b7028fd2761b25e0632cf3ab189289b465c4f25c1531e296b04e630ddac"
})
tx = xmrClient.sendTransaction({
    "hex" : "02000202000bad91af09ac94c702b2f026d9b303c103fb69c25ca8018608ab0ed20e3f996f848afb76134d18ddd2568e988fcd066f68a5b96b0e02fe2b7e7f0d2a7c02000b81fc840cce9811f25ec39f01baa806cf61fa5fc9aa0248d20387061ee47f7f173f7d40e2bf34aeda67b7f66ef49f1150188af43f6b5eaca8a76eb80200023a396c70fb8d01062a0771bacf44c64c371c769ee8e7a6d597725862285113e10002fe483468f4237ce60a9ab742863eb7c5c05c0508808c815835112530d53b7d412c01f527b0f990deab0d9cd4be425dcb90c1b66a531f60d30f9614e2fc16aed5ddd302090146898d93bab319b305d0ecc90787bc98c9bdfd9d280951b667ed25c0afea9345f1375598261d23a94a8ba8cda8610b7f1b3f392d0c76058458adce8b1088079a132e5522ccaf78439a1b024996ff958b6d37588881b342255b36e8826101c1d361f0eb34300df0ca0c17b1ac2b4c68150a0090ccca6d78503b5a5028bf1cd1723fff4c960186fbc048e3d206fcfe535db983f80fb5d42686a95ac3a8aea35950064fd3cd93f5faefdda2f70c41ce97e88bbb677b67a96b884138379d067993c9bc1e15ca657f2eadb1bfab0ed47709b45c17abeb5f2702ace4ecbd41e0e5b2946047f96c0a0be7601affa8a78630f46a0d06537597af9e9c60b9abb6d40ebbb7d93ecb03568962954592b47ff69a6be530a23cb6a1573481d6305d36420007fd6e942c1c16232c1d8613feee3f40d186d3e2042e5a459f92186f19639a8310288889dcc543823160c38a832a7aa8c35cca43113dd451d0025a84c10302dd11732b748175f2303d6fdb2d5625640444dcee28a944f1f4515b37d1b1a3652b5d30516eaefd2efdeab1781f2c14b3fef741c386dd4fdadce89474c097f26a2c87cd215adf9e7fb74dfdffa613798f8092a5b9532f262417ffd6fd6a85d7c0ee92a456d277b78bd269ecb9a6a80258cc28a7f054de4ad4a5d7b7da6632d1e802541577ef2171ea4069577c74b768faa8b57221fa14b6a36868440f8bbb40f879fe07e26d7a938d2092131a41596f87cdfaaff0129ae8d1c00214b519003f158656b9497368faa8e4c387ec7040f44a0df1ddd2cea67ca09baef163eed4d0b3c85d2e02f6e3ac82c18187f0cf248680ddd365d915c23467377f0bbab9f3b7b4504da2f0c1165b73e93645938bb7deb51fd5ba7085abecc0562858fc49303df9c012c9088fce405af3e02565042b767620c43614749bb77987368b4c6dd0f775ccda321dc02b0762a77aaae862d5cd4008332cb8f71bc6b75b268249e901cecb6fa14f431700bb213c4959968b1e4834b5d92090f896cc2c6e7f1f00c2742f2a8f480f0cc7656472feaa15d8b4c9c5c87a93cd9dee10bbe991869761f3276e955f8f0cf6f8cb0e5e0b415433fc6aa8c8de31cd9b7bd59a724aca66745bc4eda000b40de9e69da9b0e52ccc86a97bf7cb3d2e755865ae088a616b5dc28b7268bb3cd405af4edfa0bb4e402bdc5618a8b06ef5e363820630beaab904077e35213690bf0b6402f4aaed9a6d83df706ce7171d7fba8cee68e80faa07b20127c0a568c8a70cf236e4512111b6b143200b50ddfedf2b8d072d27401d464448c62ae6222951081a41ce6c5cd06f29608b3b8b8f09d8851eb688f35f334c66fe7d5e65b4e5030270004a3ad7fa003e4ba36f8fcc113babbf16ce0504addcbf0464b609bdb05207d107092c53c1a700bbc470a1e50c7d804024c118d3a76089967333fa1eec270a8f70ec493a341273dfccf18ec223051e81641c0e90ef487c98e6e17bd9464c0fc6b1abb99c2fc53f411022e061aca8fc4675d4ec926742a63cfcebb6cc22c705551fdd2013238a775841c10f949a40862bd00dd404edf98b533807bd93b9f00d7275ae458ed136d8035cd167549e8fff63d2c7ac52acba4321dae5e44c16d30611db54085513d985bd765d1ac18cb02e736fb7006fc5c0d34056f0259d249c0b31511dfdfad83b9aad8e2ba6f909ed6b7188781ea6f049793350f2626748760d1587a2a306246c792797b266ebd51dfd5833065059f89c327f19e77f207df9fecfcefce19387fe4b047ec03bc05ba6f7801c7a11ce2a3572bfb99de8b723000ef9c853e7170d0c6de9f63e1eb7af005fec647f4d40da7655557136a64c9a89091859632bbd0a26f2b041480c47517b31a8db54f0d4ee65aa692104c0f3b2a50fc4767096e40070814aff8c814ba6d0a21dbe03061fc92c59995f81fc743f290467b2ae028726e217ff597496984a8d8bf09d9069cb074af267ad92c08bc39809f4cca9a2ee97f8b3351c62c0fe5ffb8b3da80a01f524348a6cafc73d60a8360505e63a6363f0fabcf6085c02e3f52b135c1e9b3179b314d589c8dd23382f3e00e369afa6db5cee75b2f7af1fa5f3f0246e54e585a4a4919ffc57b7e7a6c7a6050be7cf698b84ba925b2b20cd6ff886af33f3e94b444512ea6fd1a213614b130550faa762d1036427046648152c30ea0e12b3f21e1fb697c2b7bbc406a349ca02ff9b3c5e68474f5b7161eceba5eb4694f64d74c6676eada913cb002df1f5630a7ddff959805b67c57c3c555b774f64859de8bd95ff2f1e601bc73bcf93ac070acfe25d0567aaaaa75c8bc6419cfc0ab0b1911713b5522507e29c88c8852b7598b4f7be39a0da1ed4da0e893407830a6af1150d4b48e97c91cb43c79b99032ab330866b7028fd2761b25e0632cf3ab189289b465c4f25c1531e296b04e630ddac"
})
tx := xmrClient.SendTransaction(map[string]interface{}{
    "hex" : "02000202000bad91af09ac94c702b2f026d9b303c103fb69c25ca8018608ab0ed20e3f996f848afb76134d18ddd2568e988fcd066f68a5b96b0e02fe2b7e7f0d2a7c02000b81fc840cce9811f25ec39f01baa806cf61fa5fc9aa0248d20387061ee47f7f173f7d40e2bf34aeda67b7f66ef49f1150188af43f6b5eaca8a76eb80200023a396c70fb8d01062a0771bacf44c64c371c769ee8e7a6d597725862285113e10002fe483468f4237ce60a9ab742863eb7c5c05c0508808c815835112530d53b7d412c01f527b0f990deab0d9cd4be425dcb90c1b66a531f60d30f9614e2fc16aed5ddd302090146898d93bab319b305d0ecc90787bc98c9bdfd9d280951b667ed25c0afea9345f1375598261d23a94a8ba8cda8610b7f1b3f392d0c76058458adce8b1088079a132e5522ccaf78439a1b024996ff958b6d37588881b342255b36e8826101c1d361f0eb34300df0ca0c17b1ac2b4c68150a0090ccca6d78503b5a5028bf1cd1723fff4c960186fbc048e3d206fcfe535db983f80fb5d42686a95ac3a8aea35950064fd3cd93f5faefdda2f70c41ce97e88bbb677b67a96b884138379d067993c9bc1e15ca657f2eadb1bfab0ed47709b45c17abeb5f2702ace4ecbd41e0e5b2946047f96c0a0be7601affa8a78630f46a0d06537597af9e9c60b9abb6d40ebbb7d93ecb03568962954592b47ff69a6be530a23cb6a1573481d6305d36420007fd6e942c1c16232c1d8613feee3f40d186d3e2042e5a459f92186f19639a8310288889dcc543823160c38a832a7aa8c35cca43113dd451d0025a84c10302dd11732b748175f2303d6fdb2d5625640444dcee28a944f1f4515b37d1b1a3652b5d30516eaefd2efdeab1781f2c14b3fef741c386dd4fdadce89474c097f26a2c87cd215adf9e7fb74dfdffa613798f8092a5b9532f262417ffd6fd6a85d7c0ee92a456d277b78bd269ecb9a6a80258cc28a7f054de4ad4a5d7b7da6632d1e802541577ef2171ea4069577c74b768faa8b57221fa14b6a36868440f8bbb40f879fe07e26d7a938d2092131a41596f87cdfaaff0129ae8d1c00214b519003f158656b9497368faa8e4c387ec7040f44a0df1ddd2cea67ca09baef163eed4d0b3c85d2e02f6e3ac82c18187f0cf248680ddd365d915c23467377f0bbab9f3b7b4504da2f0c1165b73e93645938bb7deb51fd5ba7085abecc0562858fc49303df9c012c9088fce405af3e02565042b767620c43614749bb77987368b4c6dd0f775ccda321dc02b0762a77aaae862d5cd4008332cb8f71bc6b75b268249e901cecb6fa14f431700bb213c4959968b1e4834b5d92090f896cc2c6e7f1f00c2742f2a8f480f0cc7656472feaa15d8b4c9c5c87a93cd9dee10bbe991869761f3276e955f8f0cf6f8cb0e5e0b415433fc6aa8c8de31cd9b7bd59a724aca66745bc4eda000b40de9e69da9b0e52ccc86a97bf7cb3d2e755865ae088a616b5dc28b7268bb3cd405af4edfa0bb4e402bdc5618a8b06ef5e363820630beaab904077e35213690bf0b6402f4aaed9a6d83df706ce7171d7fba8cee68e80faa07b20127c0a568c8a70cf236e4512111b6b143200b50ddfedf2b8d072d27401d464448c62ae6222951081a41ce6c5cd06f29608b3b8b8f09d8851eb688f35f334c66fe7d5e65b4e5030270004a3ad7fa003e4ba36f8fcc113babbf16ce0504addcbf0464b609bdb05207d107092c53c1a700bbc470a1e50c7d804024c118d3a76089967333fa1eec270a8f70ec493a341273dfccf18ec223051e81641c0e90ef487c98e6e17bd9464c0fc6b1abb99c2fc53f411022e061aca8fc4675d4ec926742a63cfcebb6cc22c705551fdd2013238a775841c10f949a40862bd00dd404edf98b533807bd93b9f00d7275ae458ed136d8035cd167549e8fff63d2c7ac52acba4321dae5e44c16d30611db54085513d985bd765d1ac18cb02e736fb7006fc5c0d34056f0259d249c0b31511dfdfad83b9aad8e2ba6f909ed6b7188781ea6f049793350f2626748760d1587a2a306246c792797b266ebd51dfd5833065059f89c327f19e77f207df9fecfcefce19387fe4b047ec03bc05ba6f7801c7a11ce2a3572bfb99de8b723000ef9c853e7170d0c6de9f63e1eb7af005fec647f4d40da7655557136a64c9a89091859632bbd0a26f2b041480c47517b31a8db54f0d4ee65aa692104c0f3b2a50fc4767096e40070814aff8c814ba6d0a21dbe03061fc92c59995f81fc743f290467b2ae028726e217ff597496984a8d8bf09d9069cb074af267ad92c08bc39809f4cca9a2ee97f8b3351c62c0fe5ffb8b3da80a01f524348a6cafc73d60a8360505e63a6363f0fabcf6085c02e3f52b135c1e9b3179b314d589c8dd23382f3e00e369afa6db5cee75b2f7af1fa5f3f0246e54e585a4a4919ffc57b7e7a6c7a6050be7cf698b84ba925b2b20cd6ff886af33f3e94b444512ea6fd1a213614b130550faa762d1036427046648152c30ea0e12b3f21e1fb697c2b7bbc406a349ca02ff9b3c5e68474f5b7161eceba5eb4694f64d74c6676eada913cb002df1f5630a7ddff959805b67c57c3c555b774f64859de8bd95ff2f1e601bc73bcf93ac070acfe25d0567aaaaa75c8bc6419cfc0ab0b1911713b5522507e29c88c8852b7598b4f7be39a0da1ed4da0e893407830a6af1150d4b48e97c91cb43c79b99032ab330866b7028fd2761b25e0632cf3ab189289b465c4f25c1531e296b04e630ddac"
})

Response Body

{
    "payload": {
        "tx_hash": "bbbf592a2e392836537ce96fc01d08fe391e04322a1cc2058172ed7282618366",
        "version": 2,
        "size": 1962,
        "inputs": [
            {
                "amount": 0,
                "key_offsets": [
                    19646637,
                    5360172,
                    636978,
                    55769,
                    449,
                    13563,
                    11842,
                    168,
                    1030,
                    1835,
                    1874
                ],
                "key_image": "3f996f848afb76134d18ddd2568e988fcd066f68a5b96b0e02fe2b7e7f0d2a7c"
            },
            {
                "amount": 0,
                "key_offsets": [
                    25247233,
                    281678,
                    12146,
                    20419,
                    103482,
                    12495,
                    12282,
                    38217,
                    72,
                    466,
                    775
                ],
                "key_image": "1ee47f7f173f7d40e2bf34aeda67b7f66ef49f1150188af43f6b5eaca8a76eb8"
            }
        ],
        "input_count": 2,
        "outputs": [
            {
                "amount": 0,
                "key": "3a396c70fb8d01062a0771bacf44c64c371c769ee8e7a6d597725862285113e1"
            },
            {
                "amount": 0,
                "key": "fe483468f4237ce60a9ab742863eb7c5c05c0508808c815835112530d53b7d41"
            }
        ],
        "output_count": 2,
        "fee": 1.589e-5,
        "fee_per_kb": 8.1e-6,
        "unlock_block_height": 0,
        "block_height": 2271967,
        "block_datetime": "2021-01-11T05:29:07+00:00",
        "block_timestamp": 1610342947,
        "confirmations": 1,
        "extra": [
            1,
            ...
        ],
        "rct_signatures": {
            "type": 5,
            "txnFee": 15890000,
            "ecdhInfo": [
                {
                    "amount": "87bc98c9bdfd9d28"
                },
                {
                    "amount": "0951b667ed25c0af"
                }
            ],
            "outPk": [
                "ea9345f1375598261d23a94a8ba8cda8610b7f1b3f392d0c76058458adce8b10",
                "88079a132e5522ccaf78439a1b024996ff958b6d37588881b342255b36e88261"
            ]
        },
        "rctsig_prunable": {
           ...
        }
    },
    "state": {
        "code": 200,
        "success": true
    }
}

Info

Send the signed transaction.

HTTP Request

POST https://api.blocksdk.com/v2/xmr/transactions/send

Body Parameters

Parameter Type Description
hex string Signed transaction hex

Response

Transaction Object

Transaction information

curl -X GET 'https://api.blocksdk.com/v2/xmr/transactions/bbbf592a2e392836537ce96fc01d08fe391e04322a1cc2058172ed7282618366' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Token: my-api-token'
$tx = $xmrClient->getTransaction([
    "hash" => "bbbf592a2e392836537ce96fc01d08fe391e04322a1cc2058172ed7282618366"
]);
var tx = xmrClient.getTransaction({
    "hash" : "bbbf592a2e392836537ce96fc01d08fe391e04322a1cc2058172ed7282618366"
})
tx = xmrClient.getTransaction({
    "hash" => "bbbf592a2e392836537ce96fc01d08fe391e04322a1cc2058172ed7282618366"
})
tx = xmrClient.getTransaction({
    "hash" : "bbbf592a2e392836537ce96fc01d08fe391e04322a1cc2058172ed7282618366"
})
tx := xmrClient.GetTransaction(map[string]interface{}{
    "tx_id" : "bbbf592a2e392836537ce96fc01d08fe391e04322a1cc2058172ed7282618366"
})

Response Body

{
    "payload": {
        "tx_hash": "bbbf592a2e392836537ce96fc01d08fe391e04322a1cc2058172ed7282618366",
        "version": 2,
        "size": 1962,
        "inputs": [
            {
                "amount": 0,
                "key_offsets": [
                    19646637,
                    5360172,
                    636978,
                    55769,
                    449,
                    13563,
                    11842,
                    168,
                    1030,
                    1835,
                    1874
                ],
                "key_image": "3f996f848afb76134d18ddd2568e988fcd066f68a5b96b0e02fe2b7e7f0d2a7c"
            },
            {
                "amount": 0,
                "key_offsets": [
                    25247233,
                    281678,
                    12146,
                    20419,
                    103482,
                    12495,
                    12282,
                    38217,
                    72,
                    466,
                    775
                ],
                "key_image": "1ee47f7f173f7d40e2bf34aeda67b7f66ef49f1150188af43f6b5eaca8a76eb8"
            }
        ],
        "input_count": 2,
        "outputs": [
            {
                "amount": 0,
                "key": "3a396c70fb8d01062a0771bacf44c64c371c769ee8e7a6d597725862285113e1"
            },
            {
                "amount": 0,
                "key": "fe483468f4237ce60a9ab742863eb7c5c05c0508808c815835112530d53b7d41"
            }
        ],
        "output_count": 2,
        "fee": 1.589e-5,
        "fee_per_kb": 8.1e-6,
        "unlock_block_height": 0,
        "block_height": 2271967,
        "block_datetime": "2021-01-11T05:29:07+00:00",
        "block_timestamp": 1610342947,
        "confirmations": 1,
        "extra": [
            1,
            ...
        ],
        "rct_signatures": {
            "type": 5,
            "txnFee": 15890000,
            "ecdhInfo": [
                {
                    "amount": "87bc98c9bdfd9d28"
                },
                {
                    "amount": "0951b667ed25c0af"
                }
            ],
            "outPk": [
                "ea9345f1375598261d23a94a8ba8cda8610b7f1b3f392d0c76058458adce8b10",
                "88079a132e5522ccaf78439a1b024996ff958b6d37588881b342255b36e88261"
            ]
        },
        "rctsig_prunable": {
           ...
        }
    },
    "state": {
        "code": 200,
        "success": true
    }
}

Info

Return information for a specific transaction.

HTTP Request

GET https://api.blocksdk.com/v2/xmr/transactions/<tx_hash>

URL Parameters

Parameter Type Description
tx_hash string Transaction hash to return transaction information

Response

Transaction Object

Transaction Object

Variable Type Description
tx_hash string transaction id, transaction hash
version int Transaction version
size int Transaction size
inputs array[object] List of transactions used
outputs array[object] List of transactions received
input_count int Number of transactions used
output_count int Number of transactions received
fee double Fees used in the transaction
fee_per_kb double Fee per kb unit
block_height string The height of the block containing the transaction
block_datetime string Date and time the transaction was included in the block
block_timestamp int Date and time the transaction was included in the block