Docs

Docs

  • Develop
  • Validate
  • Integrate
  • Learn

โ€บREST API

Welcome to Elrond

  • Welcome to Elrond

Technology

  • Architecture Overview
  • Glossary
  • Entities
  • Chronology
  • Secure Proof of Stake
  • Adaptive State Sharding
  • The Elrond WASM VM
  • Cross Shard Transactions

Wallet

  • Wallets - Overview
  • Web Wallet
  • Maiar Web Wallet Extension
  • Webhooks
  • Ledger

Tokens

  • Native Tokens
  • ESDT tokens
  • NFT tokens

Validators

  • Validators - Overview
  • System Requirements
  • Install a Mainnet Node

    • Scripts & User config
    • Installing a Validator Node
    • Optional Configurations
    • How to use the Docker Image

    Install a Testnet/Devnet Node

    • Scripts & User config
    • Installing a Validator Node
    • Manage a validator node
    • How to use the Docker Image

    Manage your keys

    • Validator Keys
    • Wallet Keys
    • Protecting your keys

    Staking, Unstaking, Unjailing

    • Staking, unstaking and unjailing
    • Staking
    • Unjailing
    • The Staking Smart Contract
  • The Delegation Manager
  • Convert An Existing Validator Into A Staking Pool
  • Merging A Validator Into An Existing Delegation Smart Contract
  • Rating
  • Elrond Node upgrades
  • Node redundancy
  • Import DB
  • Node CLI
  • Node Databases
  • Useful Links & Tools
  • FAQs

Developers

  • Developers - Overview
  • Tutorials

    • Build a dApp in 15 minutes
    • Build a Microservice for your dApp
    • The Crowdfunding Smart Contract (part 1)
    • The Crowdfunding Smart Contract (part 2)
    • The Counter Smart Contract
    • Custom Wallet Connect

    Signing Transactions

    • Signing Transactions
    • Tools for signing
    • Signing programmatically

    Gas and Fees

    • Overview
    • EGLD transfers (move balance transactions)
    • System Smart Contracts
    • User-defined Smart Contracts

    Developer reference

    • The Elrond Serialization Format
    • Smart contract annotations
    • Smart contract modules
    • Smart contract to smart contract calls
    • Smart Contract Developer Best Practices
    • Code Metadata
    • Smart Contract API Functions
    • Storage Mappers
    • Rust Testing Framework
    • Rust Testing Framework Functions Reference
    • Rust Smart Contract Debugging
    • Random Numbers in Smart Contracts

    Developers Best Practices

    • Basics
    • BigUint Operations
    • The dynamic allocation problem
    • Multi-values

    Mandos tests reference

    • Mandos Overview
    • Mandos Structure
    • Mandos Simple Values
    • Mandos Complex Values
    • Embedding Mandos code in Go
  • Constants
  • Built-In Functions
  • Account storage
  • Setup a Local Testnet
  • Set up a Local Testnet (advanced)
  • Creating Wallets

SDK and Tools

  • SDKs and Tools - Overview
  • REST API

    • REST API overview
    • api.elrond.com
    • Gateway overview
    • Addresses
    • Transactions
    • Network
    • Nodes
    • Blocks
    • Virtual Machine
    • Versions and Changelog
  • Proxy
  • Elasticsearch
  • erdpy

    • erdpy
    • Installing erdpy
    • Configuring erdpy
    • erdpy CLI
    • Deriving the Wallet PEM file
    • Sending bulk transactions
    • Writing and running erdpy scripts
    • Smart contract interactions

    erdjs

    • erdjs
    • Cookbook
    • Extending erdjs
    • Writing and testing interactions
    • Migration guides
    • Signing Providers for dApps
  • erdgo
  • erdcpp
  • erdjava
  • erdkotlin
  • erdwalletjs-cli

Integrators

  • Integrators - Overview
  • EGLD integration guide
  • ESDT tokens integration guide
  • Observing Squad
  • Accounts Management
  • Creating Transactions
  • Querying the Blockchain

Addresses

Get information about an Elrond Address.

GET Get Address

https://gateway.elrond.com/address/:bech32Address

This endpoint allows one to retrieve basic information about an Address (Account).

Request
Response

Path Parameters

ParamRequiredTypeDescription
bech32AddressREQUIREDstringThe Address to query.

๐ŸŸข 200: OK

Address information successfully retrieved.

{
"account": {
"address": "erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqylllslmq6y6",
"nonce": 0,
"balance": "100000000000000000000",
"username": "",
"code": "000000000000000000010000000000000000000000000000000000000004ffff",
"codeHash": "YspAmEhzTEaqNOZlw+E+bPQx4JnfLJk4Fa/gtKas5fI=",
"rootHash": "JF2QNq8wpVGijn9vvoSV+vGqTbuKVK1LIj7IlA21JXE=",
"codeMetadata": "BAA=",
"developerReward": "5670000000000000",
"ownerAddress": "erd1l453hd0gt5gzdp7czpuall8ggt2dcv5zwmfdf3sd3lguxseux2fsmsgldz"
}
}

GET Get Address Nonce

https://gateway.elrond.com/address/:bech32Address/nonce

This endpoint allows one to retrieve the nonce of an Address.

Request
Response

Path Parameters

ParamRequiredTypeDescription
bech32AddressREQUIREDstringThe Address to query.

๐ŸŸข 200: OK

Nonce successfully retrieved.

{
"nonce": 5
}

GET Get Address Balance

https://gateway.elrond.com/address/:bech32Address/balance

This endpoint allows one to retrieve the balance of an Address.

Request
Response

Path Parameters

ParamRequiredTypeDescription
bech32AddressREQUIREDstringThe Address to query.

๐ŸŸข 200: OK

Balance successfully retrieved.

{
"balance": "100000000000000000000"
}

GET Get Address Transactions

https://gateway.elrond.com/address/:bech32Address/transactions

This endpoint allows one to retrieve the latest 20 Transactions sent from an Address.

Request
Response

Path Parameters

ParamRequiredTypeDescription
bech32AddressREQUIREDstringThe 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 Elasticsearch instance (populated through Observers) as well.

GET Get Storage Value for Address

https://gateway.elrond.com/address/:bech32Address/key/:key

This endpoint allows one to retrieve a value stored within the Blockchain for a given Address.

Request
Response

Path Parameters

ParamRequiredTypeDescription
bech32AddressREQUIREDstringThe Address to query.
keyREQUIREDstringThe key entry to fetch.

The key must be hex-encoded.

๐ŸŸข 200: OK

Value (hex-encoded) successfully retrieved.

{
"value": "abba"
}

GET Get all storage for Address

https://gateway.elrond.com/address/:bech32Address/keys

This endpoint allows one to retrieve all the key-value pairs stored under a given account.

Request
Response

Path Parameters

ParamRequiredTypeDescription
bech32AddressREQUIREDstringThe Address to query.

๐ŸŸข 200: OK

Key-value pairs (both hex-encoded) successfully retrieved.

{
"pairs": {
"abba": "6f6b"
...
}
}

ESDT tokens endpoints

There are a number of ESDT tokens endpoints that one can use to check all tokens of an address, balance for specific fungible or non-fungible tokens or so on.

Fungible tokens endpoints can be found here and non-fungible tokens endpoints can be found here.

โ† Gateway overviewTransactions โ†’
  • GET Get Address
  • GET Get Address Nonce
  • GET Get Address Balance
  • GET Get Address Transactions
  • GET Get Storage Value for Address
  • GET Get all storage for Address
  • ESDT tokens endpoints
Made withby the Elrond team.
GithubChat
Main siteWalletExplorerBridgeDocsGrowthMaiarMaiar Exchange