curl --request POST \
--url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/customNetworks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"networkType": "ETH",
"chainName": "Base Mainnet",
"chainId": "8453",
"rpcUrl": "https://website-sample.com",
"blockExplorerUrl": "https://website-sample.com",
"iconUrl": "https://website-sample.com",
"nativeCurrencyName": "Ethereum",
"nativeCurrencySymbol": "ETH",
"nativeCurrencyIconUrl": "https://website-sample.com",
"nativeCurrencyDecimals": 18
}
'{
"customNetwork": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"networkType": "ETH",
"chainName": "<string>",
"chainId": "<string>",
"rpcUrl": "https://website-sample.com",
"blockExplorerUrl": "https://website-sample.com",
"iconUrl": "https://website-sample.com",
"nativeCurrencyName": "<string>",
"nativeCurrencySymbol": "<string>",
"nativeCurrencyIconUrl": "https://website-sample.com",
"nativeCurrencyDecimals": 9
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of organization
36"95b11417-f18f-457f-8804-68e361f9164f"
Data to create a custom network
ETH, EVM, FLOW, SOL, ALGO, STARK, COSMOS, BTC, ECLIPSE, SUI, SPARK, TRON, APTOS, TON, STELLAR Name of the custom network
100"Base Mainnet"
Chain ID of the network
100"8453"
255"https://website-sample.com"
255"https://website-sample.com"
255"https://website-sample.com"
Full name of the native currency
100"Ethereum"
Symbol of the native currency
100"ETH"
255"https://website-sample.com"
Number of decimals for the native currency
0 <= x <= 1818
Custom network created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/customNetworks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"networkType": "ETH",
"chainName": "Base Mainnet",
"chainId": "8453",
"rpcUrl": "https://website-sample.com",
"blockExplorerUrl": "https://website-sample.com",
"iconUrl": "https://website-sample.com",
"nativeCurrencyName": "Ethereum",
"nativeCurrencySymbol": "ETH",
"nativeCurrencyIconUrl": "https://website-sample.com",
"nativeCurrencyDecimals": 18
}
'{
"customNetwork": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"networkType": "ETH",
"chainName": "<string>",
"chainId": "<string>",
"rpcUrl": "https://website-sample.com",
"blockExplorerUrl": "https://website-sample.com",
"iconUrl": "https://website-sample.com",
"nativeCurrencyName": "<string>",
"nativeCurrencySymbol": "<string>",
"nativeCurrencyIconUrl": "https://website-sample.com",
"nativeCurrencyDecimals": 9
}
}