Babylon
获取质押记录
获取大于特定ID的质押记录,每次返回20条数据
GET
/
api
/
mpc
/
babylon
/
stake_list
curl -X GET \
--url 'https://openapi.chainup.com/api/mpc/babylon/stake_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'
[
{
"id":242,
"symbol":"BTC",
"sub_wallet_id":123,
"updated_at":1672318660000,
"status":2000,
"request_id":"57fdc296-1e14-47fa-a99d-5e86f8e51008",
"fp_key": "f4940b238dcd00535fde6d413cc3602c4033c10f251c7e818dcd00535fd",
"stake": {
"address_from": "3AeVvpuREtqHwzRhTUsRgJErM8ryuRNVSb",
"address_to": "bc1qth4sz80fzxjcj9zdjzr5pt67warvda4zv4u5xs",
"fee": "0.00035089",
"amount": "2.36008894",
"created_at": 1551429063111,
"txid": "04a32c8640fcd6b0b23cacf14d4c0d9ec37e2395a7f3e63b46cd65f0b43a6e38",
"tx_height": 844831,
"tx_type": 1,
"lock_number": 891628,
"remark": "质押"
}
}
]
请求参数数据结构
max_id
string
required质押记录起始stake_id,例100,系统将返回100后的20条交易信息
响应参数数据结构
curl -X GET \
--url 'https://openapi.chainup.com/api/mpc/babylon/stake_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'
[
{
"id":242,
"symbol":"BTC",
"sub_wallet_id":123,
"updated_at":1672318660000,
"status":2000,
"request_id":"57fdc296-1e14-47fa-a99d-5e86f8e51008",
"fp_key": "f4940b238dcd00535fde6d413cc3602c4033c10f251c7e818dcd00535fd",
"stake": {
"address_from": "3AeVvpuREtqHwzRhTUsRgJErM8ryuRNVSb",
"address_to": "bc1qth4sz80fzxjcj9zdjzr5pt67warvda4zv4u5xs",
"fee": "0.00035089",
"amount": "2.36008894",
"created_at": 1551429063111,
"txid": "04a32c8640fcd6b0b23cacf14d4c0d9ec37e2395a7f3e63b46cd65f0b43a6e38",
"tx_height": 844831,
"tx_type": 1,
"lock_number": 891628,
"remark": "质押"
}
}
]
curl -X GET \
--url 'https://openapi.chainup.com/api/mpc/babylon/stake_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'
[
{
"id":242,
"symbol":"BTC",
"sub_wallet_id":123,
"updated_at":1672318660000,
"status":2000,
"request_id":"57fdc296-1e14-47fa-a99d-5e86f8e51008",
"fp_key": "f4940b238dcd00535fde6d413cc3602c4033c10f251c7e818dcd00535fd",
"stake": {
"address_from": "3AeVvpuREtqHwzRhTUsRgJErM8ryuRNVSb",
"address_to": "bc1qth4sz80fzxjcj9zdjzr5pt67warvda4zv4u5xs",
"fee": "0.00035089",
"amount": "2.36008894",
"created_at": 1551429063111,
"txid": "04a32c8640fcd6b0b23cacf14d4c0d9ec37e2395a7f3e63b46cd65f0b43a6e38",
"tx_height": 844831,
"tx_type": 1,
"lock_number": 891628,
"remark": "质押"
}
}
]