request(
"GET",
"/v1/custody/mpc/sign_messages_by_cobo_ids/",
{
"cobo_ids": "20221222170157000336673000008161,20221222170157000336673000008162",
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"sign_messages": [
{
"request_id": "1690349242683",
"cobo_id": "20230726132723000341052000008222",
"signature": "0x59328f02d00660d6c44d81e5bae985d2651614b5ee1e16764fd685530791748561b1f941a147f4e4ade4320b1c1d95179f9e058e622e632c020efbc476b2f9981c",
"chain_code": "ETH",
"coin_detail": {"coin": "ETH", "chain_code": "ETH", "display_code": "ETH", "description": "Ethereum Sepolia Testnet", "decimal": 18, "can_deposit": true, "can_withdraw": true, "confirming_threshold": 64},
"from_address": "0xeea5e4a7c69e4d747a693b6fbd4211ae4843da39",
"sign_version": 1,
"extra_parameters": "{\"message\": \"YWFhYQ==\"}",
"created_time": 1726026713801
}
]
}
}
Get Signed Messages By Cobo ID
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
GET
/
v1
/
custody
/
mpc
/
sign_messages_by_cobo_ids
/
request(
"GET",
"/v1/custody/mpc/sign_messages_by_cobo_ids/",
{
"cobo_ids": "20221222170157000336673000008161,20221222170157000336673000008162",
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"sign_messages": [
{
"request_id": "1690349242683",
"cobo_id": "20230726132723000341052000008222",
"signature": "0x59328f02d00660d6c44d81e5bae985d2651614b5ee1e16764fd685530791748561b1f941a147f4e4ade4320b1c1d95179f9e058e622e632c020efbc476b2f9981c",
"chain_code": "ETH",
"coin_detail": {"coin": "ETH", "chain_code": "ETH", "display_code": "ETH", "description": "Ethereum Sepolia Testnet", "decimal": 18, "can_deposit": true, "can_withdraw": true, "confirming_threshold": 64},
"from_address": "0xeea5e4a7c69e4d747a693b6fbd4211ae4843da39",
"sign_version": 1,
"extra_parameters": "{\"message\": \"YWFhYQ==\"}",
"created_time": 1726026713801
}
]
}
}
This API is only intended for MPC web3 wallets and does not support MPC send/receive wallets.
Request
List of Cobo Unique IDs for signed messages, separated by commas, cannot be empty or greater than 50
Response
request successful or failed
Show object
Show object
Show object
Show object
Unique request ID
Unique ID in Cobo
Signature
Chain code
Show object
Show object
Coin code
Chain code
Abbreviation (reference only, subject to change)
Full name (reference only, subject to change)
Decimal precision
Whether deposit is supported
Whether withdraw is supported
Number of confirmations required (may fluctuate)
Sign version, EIP-191: 1, EIP-712: 2
From address
raw info of the message to be sign
Creation time of the transaction
request(
"GET",
"/v1/custody/mpc/sign_messages_by_cobo_ids/",
{
"cobo_ids": "20221222170157000336673000008161,20221222170157000336673000008162",
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"sign_messages": [
{
"request_id": "1690349242683",
"cobo_id": "20230726132723000341052000008222",
"signature": "0x59328f02d00660d6c44d81e5bae985d2651614b5ee1e16764fd685530791748561b1f941a147f4e4ade4320b1c1d95179f9e058e622e632c020efbc476b2f9981c",
"chain_code": "ETH",
"coin_detail": {"coin": "ETH", "chain_code": "ETH", "display_code": "ETH", "description": "Ethereum Sepolia Testnet", "decimal": 18, "can_deposit": true, "can_withdraw": true, "confirming_threshold": 64},
"from_address": "0xeea5e4a7c69e4d747a693b6fbd4211ae4843da39",
"sign_version": 1,
"extra_parameters": "{\"message\": \"YWFhYQ==\"}",
"created_time": 1726026713801
}
]
}
}
Was this page helpful?
⌘I
