Monero
Craete Monero Client
Object
Tx
Name
Type
Content
tx_hash
string
hash of the transaction.
version
char
Transaction version
size
int
Transaction size
in_count
int
Transaction input count
out_count
int
Transaction output count
fee
double
Transaction fee
fee_per_kb
double
Transaction fee per kb
unlock_time
int
If not 0, this tells when a transaction output is spendable.
block_height
int
unsigned int; block height including the transaction
block_timestamp
int
unsigned int; Unix time at chich the block has been added to the blockchain
extra
array[char]
Usually called the "payment ID" but can be used to include any random 32 bytes
rct_signatures
object
Ring signatures
rctsig_prunable
object
vin
Name
Type
Content
tx_hash
string
the hash of the origin transaction(Only shown if it's my transaction)
n
char
the index of the output being redeemed from the origin transaction(Only shown if it's my transaction)
address
string
Monero Address(Only shown if it's my transaction)
amount
double
The amount of the input, in atomic units.
key_offsets
array[long]
A list of integer offets to the input.
k_image
string
The key image for the given input
vout
Name
Type
Content
amount
double
Amount of transaction output, in atomic units.
key
string
The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
address
string
Recipient Monero Address(Only shown if it's my transaction)
GetBlockChain
GET
https://api.blocksdk.com/v1/xmr/block
Path Parameters
string
Response
Name
Type
Content
height
int
number of most recent block.
bestblockhash
string
hash of most recent block.
prev_hash
string
Previous block hash of the most recent block
low_fee_per_kb
double
Low Priority (7+ blocks)
medium_fee_per_kb
double
Medium Priority (3-6 blocks)
high_fee_per_kb
double
High Priority (1-2 blocks)
GetBlock
GET
http://api.blocksdk.com/v1/xmr/block/{block}
Path Parameters
block
string
블록 해쉬
Query Parameters
rawtx
boolean
Get transaction details
limit
integer
Number of transactions to import
offset
integer
Transaction List Offset
Response
Nmae
Type
Content
hash
string
hash of the block
height
int
the block number
time
int
The date and time at which a block is mined.
tx
array[string],array[Tx]
Transaction contained in the block
tx_count
int
The number of transactions contained in the block
input_count
int
The number of inputs for all transactions in the block
out_count
int
The number of outputs for all transactions in the block
fee_total
string
Total transaction fee
reward
string
Block Mining Reward
size
int
integer the size of this block in bytes.
prev_hash
string
Previous block hash
next_hash
string
Next block hash
GetMemPool
GET
https://api.blocksdk.com/v1/xmr/mempool
Query Parameters
rawtx
boolean
Get transaction details
offset
number
Transaction List Offset
limit
number
Number of transactions to import
ListAddress
GET
https://api.blocksdk.com/v1/xmr/address
Query Parameters
limit
number
Number of Address to import
offset
number
Address List offset
Response
Name
Type
Content
id
int
Unique id of the address
name
string
Name you specified when creating the address
address
string
Monero Address
public_spendkey
string
Spend public key of address
public_viewkey
string
View public key of address
created_at
datetime
Date and time the address was created
CreateAddress
POST
https://api.blocksdk.com/v1/xmr/address
Request Body
name
string
Name to give address
Response
Name
Type
Content
id
int
Address unique ID
address
string
Monero Address
private_spend_key
string
Private spending key to use when sending Monero
GetAddressInfo
GET
https://api.blocksdk.com/v1/xmr/address/{address_id}
Path Parameters
address_id
number
Address unique ID
Request Body
password
string
If loaded, password is required.
private_spend_key
string
If not loaded, the private_spend_key value is required.
offset
number
Transaction List Offset
limit
number
Number of Transaction to import
Response
Name
Type
Content
address
string
Monero Address
tx_count
int
The number of transactions that occurred at the address
received_count
int
The number of transactions received from the address
received_total
double
Transaction amount received from the address
spent_count
int
The number of transactions spent from the address
spent_total
double
Transaction amount spent from the address
balance
string
Remaining balance
unspent_output_count
int
Unused Transaction Count
addressTx
Name
Type
Content
amount
double
Transaction amount
tx_hash
string
Transaction hash
category
string
Type of transaction(spent or received)
time
int
Trading time
GetAddressBalance
GET
https://api.blocksdk.com/v1/xmr/address/{address_id}/balance
Path Parameters
address_id
string
Address unique ID
Request Body
private_spend_key
string
If not loaded, the private_spend_key value is required.
password
string
If loaded, password is required.
Response
Name
Type
Content
balance
double
Balance of the address
unconfirmed_balance
double
Balance of transactions not included in the block of addresses
unspent_output_count
int
Unused Transaction Count
SendToAddress
POST
https://api.blocksdk.com/v1/xmr/address/{address_id}/sendtoaddress
Path Parameters
address_id
number
Address unique ID
Request Body
subtractfeefromamount
boolean
The fee will be deducted from the amount being sent. The recipient will receive less coins than you enter in the amount field ( default : false )
address
string
Address to receive coins
password
string
Only available if the wallet is loaded.
private_spend_key
string
Private spending key issued at address creation
kbfee
string
a fee per kb
amount
string
Amount of Ethereum to send
address_id
string
Address to receive Monero
Response
Return Tx on Success
GetTransaction
GET
https://api.blocksdk.com/v1/xmr/transaction/{txHash}
Path Parameters
txHash
string
transaction hash
Response
Return Tx on Success
LoadAddress
POST
https://api.blocksdk.com/v1/xmr/address/{address_id}/load
Load your address. The loaded address does not require private_key when using SendToAddress
Path Parameters
address_id
number
Monero Address ID
Request Body
password
string
Used when trading
private_spend_key
string
Address private spend key
UnloadAddress
POST
https://api.blocksdk.com/v1/xmr/address/{address}/unload
Path Parameters
address
number
Monero Address ID
Last updated
Was this helpful?