request(
"GET",
"/v1/custody/mpc/get_supported_chains/", {},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/get_supported_chains/', {}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/mpc/get_supported_chains/", map[string]string{})
{
"success": true,
"result":{
"chain_codes": [
"BSC_BNB",
"ETH",
"GETH",
"TBSC_BNB",
"MATIC",
"ARBITRUM_ETH"
]
}
}
Account
Get Supported Chains
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
GET
/
v1
/
custody
/
mpc
/
get_supported_chains
/
request(
"GET",
"/v1/custody/mpc/get_supported_chains/", {},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/get_supported_chains/', {}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/mpc/get_supported_chains/", map[string]string{})
{
"success": true,
"result":{
"chain_codes": [
"BSC_BNB",
"ETH",
"GETH",
"TBSC_BNB",
"MATIC",
"ARBITRUM_ETH"
]
}
}
Request
NoneResponse
bool
request successful or failed
request(
"GET",
"/v1/custody/mpc/get_supported_chains/", {},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/get_supported_chains/', {}, api_key, api_secret, host)
.then(res => {
res.json().then((data)=>{
console.log(JSON.stringify(data, null, 4));
})
}).catch(err => {
console.log(err)
});
Request("GET", "/v1/custody/mpc/get_supported_chains/", map[string]string{})
{
"success": true,
"result":{
"chain_codes": [
"BSC_BNB",
"ETH",
"GETH",
"TBSC_BNB",
"MATIC",
"ARBITRUM_ETH"
]
}
}
