Skip to main content
GET
/
v1
/
custody
/
mpc
/
babylon
/
list_transactions_by_status
/
request(
    "GET",
    "/v1/custody/mpc/babylon/list_transactions_by_status/",
    {
        "status": 400,
        "address": "tb1pk3gty3x43zkej7v9tuw78qtfsl3xgsp4v707acd8yqsw8lqvfhystl0rec",
        "cobo_id": "20240617181735000387960000000501"
    },
    api_key, api_secret, host
)
{
  "success": true,
  "result": [{
    "request_id": "1718619454210",
    "cobo_id": "20240617181735000387960000000502",
    "staking_info": "{\"asset_coin\": \"SIGNET_BTC\", \"stake_address\": \"tb1pufc6zv4wquhcshgr4lay4lqa6vua3m435hqmml9w74ycxxnv329qdl6cq2\", \"amount\": 50000, \"stake_block_time\": 64000, \"finality_provider\": \"88b32b005d5b7e29e6f82998aff023bff7b600c6a1a74ffac984b3aa0579b384\"}",
    "status": 400,
    "fee_rate": "10.00000000",
    "max_staking_fee": null,
    "sign_result": "{\"raw_tx\": \"0200000000010197a8e32b25590962075bf8517aa117459abd26593731e3d58ecf3c8cfb1b9a750200000000000000000350c30000000000002251205e5882d46eadd557b170a4dc73970bb663c37b262da3b7eb75ff9627c51d695b0000000000000000496a476262743400b450b244d588ad9979855f1de3816987e2644035679feee1a72020e3fc0c4dc988b32b005d5b7e29e6f82998aff023bff7b600c6a1a74ffac984b3aa0579b384fa00125f0c0000000000225120b450b244d588ad9979855f1de3816987e2644035679feee1a72020e3fc0c4dc90140ca3ce98e6837b4404af7e1087072e7306d132ae1ccbf5377f75bd7f2ee7678c9e623e167deaca981269cc317b6c25359b6b399bfb577d5414c17002ca34e463809080300\"}",
    "tx_hash": "7311feeeb9278f487be3c84662210540d8ac2dc24972721d7978915ef649f8c8"
  }]
}

Request

status
Int
required
Status TypeCode
STAKING_TX_INIT1
STAKING_TX_WAITING_BROADCASTING100
STAKING_TX_BROADCASTED200
STAKING_TX_PENDING300
STAKING_ACTIVE400
STAKING_OVERFLOW490
STAKING_FAILED499
STAKING_UNBONDINGREQUESTED500
STAKING_UNBONDING510
STAKING_UNBONDED520
STAKING_WITHDRAWN600
The 300 status indicates that the transaction has been confirmed on the BTC chain but not yet indexed by Babylon, while the 400 status indicates that the transaction has been successfully confirmed by the Babylon indexer.
The 490 status indicates that the transaction has been successfully confirmed by the Babylon indexer, but because it exceeds Babylon’s staking cap, it will not be included in the earnings calculation.
The 500 status indicates that the unbonding request for the staking transaction has been sent to Babylon. The 510 status means that the unbonding transaction is waiting for Babylon to reach the required number of locked blocks. The 520 status indicates that the staking transaction has been successfully unbonded (either due to natural expiration or successful unbonding). Once this status is reached, the staking transaction can be withdrawn.
The 600 status indicates that the staking transaction has been fully withdrawn and the staking transaction is closed.
address
String
staking address
min_cobo_id
String
> cobo_id; details of staking transactions whose cobo ID are greater than this value will be returned
limit
Int
entries per page; max: 50; default: 50

Response

success
bool
request successful or failed
result
object[]
request(
    "GET",
    "/v1/custody/mpc/babylon/list_transactions_by_status/",
    {
        "status": 400,
        "address": "tb1pk3gty3x43zkej7v9tuw78qtfsl3xgsp4v707acd8yqsw8lqvfhystl0rec",
        "cobo_id": "20240617181735000387960000000501"
    },
    api_key, api_secret, host
)
{
  "success": true,
  "result": [{
    "request_id": "1718619454210",
    "cobo_id": "20240617181735000387960000000502",
    "staking_info": "{\"asset_coin\": \"SIGNET_BTC\", \"stake_address\": \"tb1pufc6zv4wquhcshgr4lay4lqa6vua3m435hqmml9w74ycxxnv329qdl6cq2\", \"amount\": 50000, \"stake_block_time\": 64000, \"finality_provider\": \"88b32b005d5b7e29e6f82998aff023bff7b600c6a1a74ffac984b3aa0579b384\"}",
    "status": 400,
    "fee_rate": "10.00000000",
    "max_staking_fee": null,
    "sign_result": "{\"raw_tx\": \"0200000000010197a8e32b25590962075bf8517aa117459abd26593731e3d58ecf3c8cfb1b9a750200000000000000000350c30000000000002251205e5882d46eadd557b170a4dc73970bb663c37b262da3b7eb75ff9627c51d695b0000000000000000496a476262743400b450b244d588ad9979855f1de3816987e2644035679feee1a72020e3fc0c4dc988b32b005d5b7e29e6f82998aff023bff7b600c6a1a74ffac984b3aa0579b384fa00125f0c0000000000225120b450b244d588ad9979855f1de3816987e2644035679feee1a72020e3fc0c4dc90140ca3ce98e6837b4404af7e1087072e7306d132ae1ccbf5377f75bd7f2ee7678c9e623e167deaca981269cc317b6c25359b6b399bfb577d5414c17002ca34e463809080300\"}",
    "tx_hash": "7311feeeb9278f487be3c84662210540d8ac2dc24972721d7978915ef649f8c8"
  }]
}
Feel free to share your feedback to improve our documentation!