Returns info on an EVM (ERC-20, ...) token on the runtime.
Changed onget/{runtime}/evm_tokens/{address}
Request
- Base URLhttps://nexus.oasis.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
runtime'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher' required
The runtime which to query.
addressstring required
The staking address of the token contract.
Response
The requested token.
Example response
{
"contract_addr": "oasis1qp2hssandc7dekjdr6ygmtzt783k3gn38uupdeys",
"name": "Uniswap",
"symbol": "USDT",
"decimals": 18,
"total_supply": "1234567890123456789012",
"num_holders": 123,
"ref_swap": {
"reserve0": "1234567890123456789012",
"reserve1": "1234567890123456789012"
},
"ref_token": {
"name": "Wrapped ROSE",
"symbol": "wROSE",
"decimals": 18
}
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning