ledger-accounts
Get stablecoin tokens supported for account.
Changed onGet list of stablecoin tokens supported for account by asset code. The asset code is the currency code of the main account e.g USD
get/ledger/assets/{assetCode}/network-tokens
Request
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
assetCodestring required
The assets code of a crypto
Response
List of supported stablecoin tokens for the asset code
Example response
{
"asset": "USD",
"tokens": [
{
"symbol": "USDC",
"name": "USD Coin",
"logoUrl": "https://etherscan.io/token/images/centre-usdc_28.png",
"supportedNetworks": [
{
"code": "ETH_USDC",
"decimals": 6,
"contractAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"minimumDeposit": 5.25,
"platformFeePercentage": 0.001,
"networkInfo": {
"id": "ETH",
"name": "Ethereum",
"blockTime": 15,
"confirmations": 8,
"coinName": "Ether",
"coinSymbol": "ETH",
"alias": "BEP20",
"addressExplorerUrl": "https://etherscan.io/address",
"txExplorerUrl": "https://etherscan.io/tx"
}
}
]
}
]
}Changes
- info
the endpoint scheme security
HMACAuthwas added to the API - info
the endpoint scheme security
authTokenwas removed from the API - info
added the optional property
////to the response with the status
- info
- info
endpoint added
- info