Babylon Staking
Babylon Prepare Staking
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
request_id, stake_info, fee_rate, and max_staking_fee. Please note that a successfully created staking transaction will not be broadcast automatically; you need to call the Babylon Broadcast Staking Transaction endpoint to broadcast it.POST
Documentation Index
Fetch the complete documentation index at: https://cobo.com/developers/llms.txt
Use this file to discover all available pages before exploring further.
Request
transaction request ID (unique identifier of a transaction request, which must correspond to a clientโs transaction; UUID should be used and the length should be equal to or less than 120 characters)
detailed information for constructing a staking transaction in JSON format
- asset_coin: string, code of the staking token
- stake_address: string, staking address
- amount: int, staking amount
- stake_block_time: int, number of staking blocks, which starts counting after the transaction is on the chain
- finality_provider: string, pubkey hex of the provider to be used for staking. The default is None, which uses the provider pubkey hex managed by Cobo
Sample
transaction fees per byte
maximum fee for constructing the transaction. If the actual fee exceeds this limit, the creation will fail. The default is None.
Response
request successful or failed
""
