Introduction to APIs
MPC Self-Custody
- Integration Guide
- API Interface
- Overview
- Workspace
- Wallet
- Transfer (Withdrawal)
- Receiving (Deposit)
- Auto Sweep
- Web3 Transaction
- NFT
- Babylon
- Tron Resource
- Transaction Callback Notification
- Co-Signer
- Error Code
- SDK
Full Custody
Custody WAPI
Workspace
Get MPC Workspace Coin Details
Get the details of MPC workspace’s native tokens, and tokens supported
GET
/
api
/
mpc
/
coin_list
Copy
curl -X GET \
--url 'https://openapi.keysecure.io/
api/mpc/coin_list?app_id=16a9f17fc2ad61ca4339fdd6a8a37f21&data=SWYYr-LBVAmaS0eq8n-CUT_nHkM3OBxyWOsImMTe41UaqAoYI2ZghmaphXHov-7hsRsVmOhyPqC-JFuRGvonJKFd2Jirxv6Vn_8V40r_MMYTkhqcviQbZWYW5xX8Ai8CIpqas9fIWVDIYA_NKBl0UCJpwGxscxLNpjq5Z8-BTyIYDsVBquM9zEQGBCfcA7szD9n2fN_loSkoexlwqV8wg9HIZO5yQ6utZ_Kt0lNDQQb8zn8BwfAvsEsbJlOINUAqhxh1vV_AJ4bXn2uYx8TaYcBht-n_ZcBdxIDt975dbOFUiH-oCzIuDi1oLDtb4EylfCvhU5E4ozel_lQ-6cyIG0Dqiiyx0RFFOCJzPSXIoV031pvoa8pTCpkWklh8mRw1rylBgeZtqSxpnJO2_u2RIlXq6Hs8Yly9CmhIXaSrUgPir0h6xVxlf4VC6PFVCkiiTlp0kZ_H_UbKm0nUis3v3U2sflWJ2C449waSrikhuxVrFAQ6PQmrFVCAE6MYXNrFXJQuam2HAIQNSGbFQjspw8b_bXyfyZMGZ3K2oBC4I_v3eETTdPe0pfSNJb-5g37K0tOAr_UFbWK8pkC8yl56fSjn8tcR3yCRWwoi8jxTcUBiswTtvXZtzgG4dyzkaHXjsZjSGiywXSqP76VZWlyOmAx6IDSViLcPLPISdU3ruCI'
Copy
[
{
"address_regex":".*",
"address_tag_regex":"",
"base_symbol":"BSC",
"coin_net":"BSC",
"contract_address":"0xe9e7cea3dedca5984780bafc599bd69add087d56",
"decimals":"18",
"deposit_confirmation":"1",
"address_link":"https://www.bscscan.com/address/",
"txid_link":"https://www.bscscan.com/tx/",
"icon":"",
"if_open_chain":true,
"real_symbol":"BUSD",
"support_memo":"0",
"support_token":"0",
"symbol":"BUSD",
"symbol_alias":"BUSD",
"support_acceleration": true,
"support_multi_addr" : true,
"merge_address_symbol" : "ETH"
},
{
"address_regex":".*",
"address_tag_regex":"",
"base_symbol":"ETH",
"coin_net":"ETH",
"contract_address":"0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals":"18",
"deposit_confirmation":"1",
"address_link":"https://etherscan.io/address/",
"txid_link":"https://etherscan.io/tx/",
"icon":"",
"if_open_chain":false,
"real_symbol":"USDTERC20",
"support_memo":"0",
"support_token":"0",
"symbol":"USDTERC20",
"symbol_alias":"USDT",
"support_acceleration": true,
"support_multi_addr" : true,
"merge_address_symbol" : "ETH"
}
]
Request Parameters
Current timestamp, e.g.: 1600128590
Encoding format, typically utf-8
Unique identifier for the coin, used for transfers, e.g.:USDTERC20
Native tokens, Unique identifier for the coin, used for transfers, e.g.:ETH
Native token, default to getting all, true
to get opened coins, false
to get unopened coins
Response Data Parameters
Address regex pattern, e.g.:
.*
Address tag regex pattern
Unique identifier of the native token of the network, e.g.:
MATIC1
Contract address supported by MPC network
Coin precision
Number of confirmations for deposits
Prefix for the block explorer address query link.
Prefix for the block explorer address query link.
Coin icon
Indicates if the network is open (false/true)
Name of the coin on the blockchain
Indicates if memo is supported (0:not supported, 1:supported)
Indicates if token coins are supported (0:not supported, 1:supported for native tokens, empty for tokens)
Coin network
Unique identifier for the coin, e.g.:
MATIC1
Real name of the coin
Indicates if acceleration is supported (false/true)
Support for multiple addresses,
true
: supported, false
: not supportedMerged address Native token, Unique identifier for the coin
Belongs to the native token type,
0
for account type, 1
for utxo-type network, 2
for Memo typeCopy
curl -X GET \
--url 'https://openapi.keysecure.io/
api/mpc/coin_list?app_id=16a9f17fc2ad61ca4339fdd6a8a37f21&data=SWYYr-LBVAmaS0eq8n-CUT_nHkM3OBxyWOsImMTe41UaqAoYI2ZghmaphXHov-7hsRsVmOhyPqC-JFuRGvonJKFd2Jirxv6Vn_8V40r_MMYTkhqcviQbZWYW5xX8Ai8CIpqas9fIWVDIYA_NKBl0UCJpwGxscxLNpjq5Z8-BTyIYDsVBquM9zEQGBCfcA7szD9n2fN_loSkoexlwqV8wg9HIZO5yQ6utZ_Kt0lNDQQb8zn8BwfAvsEsbJlOINUAqhxh1vV_AJ4bXn2uYx8TaYcBht-n_ZcBdxIDt975dbOFUiH-oCzIuDi1oLDtb4EylfCvhU5E4ozel_lQ-6cyIG0Dqiiyx0RFFOCJzPSXIoV031pvoa8pTCpkWklh8mRw1rylBgeZtqSxpnJO2_u2RIlXq6Hs8Yly9CmhIXaSrUgPir0h6xVxlf4VC6PFVCkiiTlp0kZ_H_UbKm0nUis3v3U2sflWJ2C449waSrikhuxVrFAQ6PQmrFVCAE6MYXNrFXJQuam2HAIQNSGbFQjspw8b_bXyfyZMGZ3K2oBC4I_v3eETTdPe0pfSNJb-5g37K0tOAr_UFbWK8pkC8yl56fSjn8tcR3yCRWwoi8jxTcUBiswTtvXZtzgG4dyzkaHXjsZjSGiywXSqP76VZWlyOmAx6IDSViLcPLPISdU3ruCI'
Copy
[
{
"address_regex":".*",
"address_tag_regex":"",
"base_symbol":"BSC",
"coin_net":"BSC",
"contract_address":"0xe9e7cea3dedca5984780bafc599bd69add087d56",
"decimals":"18",
"deposit_confirmation":"1",
"address_link":"https://www.bscscan.com/address/",
"txid_link":"https://www.bscscan.com/tx/",
"icon":"",
"if_open_chain":true,
"real_symbol":"BUSD",
"support_memo":"0",
"support_token":"0",
"symbol":"BUSD",
"symbol_alias":"BUSD",
"support_acceleration": true,
"support_multi_addr" : true,
"merge_address_symbol" : "ETH"
},
{
"address_regex":".*",
"address_tag_regex":"",
"base_symbol":"ETH",
"coin_net":"ETH",
"contract_address":"0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals":"18",
"deposit_confirmation":"1",
"address_link":"https://etherscan.io/address/",
"txid_link":"https://etherscan.io/tx/",
"icon":"",
"if_open_chain":false,
"real_symbol":"USDTERC20",
"support_memo":"0",
"support_token":"0",
"symbol":"USDTERC20",
"symbol_alias":"USDT",
"support_acceleration": true,
"support_multi_addr" : true,
"merge_address_symbol" : "ETH"
}
]
Copy
curl -X GET \
--url 'https://openapi.keysecure.io/
api/mpc/coin_list?app_id=16a9f17fc2ad61ca4339fdd6a8a37f21&data=SWYYr-LBVAmaS0eq8n-CUT_nHkM3OBxyWOsImMTe41UaqAoYI2ZghmaphXHov-7hsRsVmOhyPqC-JFuRGvonJKFd2Jirxv6Vn_8V40r_MMYTkhqcviQbZWYW5xX8Ai8CIpqas9fIWVDIYA_NKBl0UCJpwGxscxLNpjq5Z8-BTyIYDsVBquM9zEQGBCfcA7szD9n2fN_loSkoexlwqV8wg9HIZO5yQ6utZ_Kt0lNDQQb8zn8BwfAvsEsbJlOINUAqhxh1vV_AJ4bXn2uYx8TaYcBht-n_ZcBdxIDt975dbOFUiH-oCzIuDi1oLDtb4EylfCvhU5E4ozel_lQ-6cyIG0Dqiiyx0RFFOCJzPSXIoV031pvoa8pTCpkWklh8mRw1rylBgeZtqSxpnJO2_u2RIlXq6Hs8Yly9CmhIXaSrUgPir0h6xVxlf4VC6PFVCkiiTlp0kZ_H_UbKm0nUis3v3U2sflWJ2C449waSrikhuxVrFAQ6PQmrFVCAE6MYXNrFXJQuam2HAIQNSGbFQjspw8b_bXyfyZMGZ3K2oBC4I_v3eETTdPe0pfSNJb-5g37K0tOAr_UFbWK8pkC8yl56fSjn8tcR3yCRWwoi8jxTcUBiswTtvXZtzgG4dyzkaHXjsZjSGiywXSqP76VZWlyOmAx6IDSViLcPLPISdU3ruCI'
Copy
[
{
"address_regex":".*",
"address_tag_regex":"",
"base_symbol":"BSC",
"coin_net":"BSC",
"contract_address":"0xe9e7cea3dedca5984780bafc599bd69add087d56",
"decimals":"18",
"deposit_confirmation":"1",
"address_link":"https://www.bscscan.com/address/",
"txid_link":"https://www.bscscan.com/tx/",
"icon":"",
"if_open_chain":true,
"real_symbol":"BUSD",
"support_memo":"0",
"support_token":"0",
"symbol":"BUSD",
"symbol_alias":"BUSD",
"support_acceleration": true,
"support_multi_addr" : true,
"merge_address_symbol" : "ETH"
},
{
"address_regex":".*",
"address_tag_regex":"",
"base_symbol":"ETH",
"coin_net":"ETH",
"contract_address":"0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals":"18",
"deposit_confirmation":"1",
"address_link":"https://etherscan.io/address/",
"txid_link":"https://etherscan.io/tx/",
"icon":"",
"if_open_chain":false,
"real_symbol":"USDTERC20",
"support_memo":"0",
"support_token":"0",
"symbol":"USDTERC20",
"symbol_alias":"USDT",
"support_acceleration": true,
"support_multi_addr" : true,
"merge_address_symbol" : "ETH"
}
]
Assistant
Responses are generated using AI and may contain mistakes.