request(
"GET",
"/v1/custody/mpc/sign_messages_by_request_ids/",
{
"request_ids": "1690349242683,1690349242684",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/sign_messages_by_request_ids/', {
"request_ids": "1690349242683,1690349242684",
}, 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/sign_messages_by_request_ids/", map[string]string{
"request_ids": "1690349242683,1690349242684",
})
{
"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 Request 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_request_ids
/
request(
"GET",
"/v1/custody/mpc/sign_messages_by_request_ids/",
{
"request_ids": "1690349242683,1690349242684",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/sign_messages_by_request_ids/', {
"request_ids": "1690349242683,1690349242684",
}, 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/sign_messages_by_request_ids/", map[string]string{
"request_ids": "1690349242683,1690349242684",
})
{
"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
Sign message request IDs; separated by commas; the number of IDs must be greater than 0 and less 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_request_ids/",
{
"request_ids": "1690349242683,1690349242684",
},
api_key, api_secret, host
)
coboFetch('GET', '/v1/custody/mpc/sign_messages_by_request_ids/', {
"request_ids": "1690349242683,1690349242684",
}, 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/sign_messages_by_request_ids/", map[string]string{
"request_ids": "1690349242683,1690349242684",
})
{
"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
