Addresses
Get information about an Elrond Address.
GET Get Address
https://api.elrond.com/address/:bech32Address
This endpoint allows one to retrieve basic information about an Address (Account).
Path Parameters
Param | Required | Type | Description |
---|---|---|---|
bech32Address | REQUIRED | string | The Address to query. |
๐ข 200: OK
Address information successfully retrieved.
{
"account": {
"address": "erd1l453hd0gt5gzdp7czpuall8ggt2dcv5zwmfdf3sd3lguxseux2fsmsgldz",
"nonce": 5,
"balance": "100000000000000000000"
}
}
GET Get Address Nonce
https://api.elrond.com/address/:bech32Address/nonce
This endpoint allows one to retrieve the nonce of an Address.
Path Parameters
Param | Required | Type | Description |
---|---|---|---|
bech32Address | REQUIRED | string | The Address to query. |
๐ข 200: OK
Nonce successfully retrieved.
{
"nonce": 5
}
GET Get Address Balance
https://api.elrond.com/address/:bech32Address/balance
This endpoint allows one to retrieve the balance of an Address.
Path Parameters
Param | Required | Type | Description |
---|---|---|---|
bech32Address | REQUIRED | string | The Address to query. |
๐ข 200: OK
Balance successfully retrieved.
{
"balance": "100000000000000000000"
}
GET Get Address Transactions
https://api.elrond.com/address/:bech32Address/transactions
This endpoint allows one to retrieve the latest 20 Transactions sent from an Address.
Path Parameters
Param | Required | Type | Description |
---|---|---|---|
bech32Address | REQUIRED | string | The Address to query. |
๐ข 200: OK
Transactions successfully retrieved.
{
"transactions": [
{
"hash": "1a3e...",
"fee": "10000000000000000",
"miniBlockHash": "9673...",
"nonce": 68,
"round": 33688,
"value": "1000000000000000000",
"receiver": "erd1...",
"sender": "erd1l453hd0gt5gzdp7czpuall8ggt2dcv5zwmfdf3sd3lguxseux2fsmsgldz",
"receiverShard": 0,
"senderShard": 0,
"gasPrice": 200000000000,
"gasLimit": 50000,
"gasUsed": 50000,
"data": "",
"signature": "ed75...",
"timestamp": 1591258128,
"status": "Success",
"scResults": null
},
{
"hash": "d72d...",
"fee": "10000000000000000",
"miniBlockHash": "fd45...",
"nonce": 67,
"round": 27353,
"value": "100000000000000000000000000",
"receiver": "erd1...",
"sender": "erd1l453hd0gt5gzdp7czpuall8ggt2dcv5zwmfdf3sd3lguxseux2fsmsgldz",
"receiverShard": 1,
"senderShard": 0,
"gasPrice": 200000000000,
"gasLimit": 50000,
"gasUsed": 50000,
"data": "",
"signature": "bb98...",
"timestamp": 1591220142,
"status": "Success",
"scResults": null
},
...
]
}
warning
This endpoint is not available on Observer Nodes. It is only available on Elrond Proxy.
Currently, this endpoint is only available on the Official Elrond Proxy instance.
This endpoint requires the presence of an Elastic Search instance (populated through Observers) as well.
GET Get Storage Value for Address
https://api.elrond.com/address/:bech32Address/storage/:storageKey
This endpoint allows one to retrieve a value stored within the Blockchain for a given Address.
Path Parameters
Param | Required | Type | Description |
---|---|---|---|
bech32Address | REQUIRED | string | The Address to query. |
storageKey | REQUIRED | string | The storage entry to fetch. |
๐ข 200: OK
Value (hex-encoded) successfully retrieved.
{
"value": "abba"
}