/dapp/config
Returns configuration used in dapps
The /dapp/config command is used to obtain the latest configuration used in dapps. It needs a username and allows users to input a number of skippable items.
Parameters
usernameREQUIRED(number)- Number of items to skip for the result set
Returns
id:(string)name:(string)egldLabel:(string)decimals:(number)egldDenomination:(number)gasPerDataByte:(number)apiTimeout:(number)walletConnectDeepLink:(string)walletConnectBridgeAddresses:(string)walletAddress:(string)apiAddress:(string)explorerAddress:(string)chainid:(number)
Example Request and Result for /dapp/config
Request
curl -X 'GET' \
'https://elrond-api.public.blastapi.io/dapp/config' \
-H 'accept: application/json'
Result
{
"id": "mainnet",
"name": "Mainnet",
"egldLabel": "eGLD",
"decimals": "4",
"egldDenomination": "18",
"gasPerDataByte": "1500",
"apiTimeout": "4000",
"walletConnectDeepLink": "https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://maiar.com/",
"walletConnectBridgeAddresses": [
"https://bridge.walletconnect.org"
],
"walletAddress": "https://wallet.elrond.com",
"apiAddress": "https://api.elrond.com",
"explorerAddress": "https://explorer.elrond.com",
"chainId": "1"
}