NILECHAIN WALLET IS THE ONLY MEANS TO USE NIL
Nilechain is the most popular companion nilecoin in the world. We are on a mission to build a more open, accessible, and fair financial future, one piece of software at a time.

EXCHANGE RATE API

Nilecoin provides APIs for investors to get the NIL-USD exchange rate

NileChain provides deveplopers with available api document

Demo: /api/address/info/N8LTJ38VaKq2mvMN3nJnHTYf9akUoyQYf8Xr
Description:
Get address information
Return type
{
status: int,
message: string,
data:
{
address: string,
totalReceive: double,
account: string,
accountBalance: double,
txs: list of string
}
}
Demo: /api/address/validate/N8LTJ38VaKq2mvMN3nJnHTYf9akUoyQYf8Xr
Description:
Check address format is valid or not
Return type
{
status: int,
message: string,
data: boolean
}
Demo: /api/block/c308149d56c8f42d7a738906a282db5a3ed94c4a728dbacfebb150e7de75559c
Description:
Get block information
Return type
{
status: int,
message: string,
data:
{
hash: string,
confirmations: int,
size: double,
height: double,
version: int
tx: string list
time: long
merkleroot: string
nonce: long
bits: string
difficulty: double
previousblockhash: string
nextblockhash: string
}
}
Demo: /api/block/count
Description:
Get the number of blocks
Return type
{
status: int,
message: string,
data: double
}
Demo: /api/block/hash/0
Description:
Get the hash of specific block
Return type
{
status: int,
message: string,
data: string
}
Demo: /api/block/list
Description:
Get blocks information
Return type
{
status: int,
message: string,
data: block list
}
Demo: /api/tx/ae8277ead70ee8aa51b5b0b0edef1e187977d3d7806aa121f740e6c786651189
Description:
Get transaction information
Return type
{
status: int,
message: string,
data:
{
amount: double,
confirmations: int,
generated: bool,
blockhash: string,
blockindex: long
blocktime: long
txid: string
normtxid: string
time: long
timereceived: long
details: list of transaction detail
}
}