Create babylon delegation message

post/api/v2/internal/{coin}/wallet/{walletId}/tx/babylon/createDelegationMessage

Route to create a babylon delegation message

Path Parameters

  • coinstringRequired
    A cryptocurrency symbol or token ticker symbol
    Example: btc
    Min length: >= 1 characters
  • walletIdstringRequired
    The wallet ID

Request Body

stakingOptions object required
Must be the same as used for building the stakingPsbt
amount string <number>required
babylonAddress string required
babylonAddressPubkey string required
finalityProvider string
timelock number
keyType string
Allowed values: mock hsm
overrideStakingParamsOne of
Babylon parameters as they appear on the gRPC JSON response
stakingPsbt string required
The unsigned staking PSBT

200 Response

bytes string required
The babylon BTC delegation message, protobuf bytes in hex. The message contains pre-signed slashing transactions and signed proof-of-possession message, but is not signed with the key of the cosmos/babylon wallet.

304 Response

allOf All of
object
context dictionary<string, any>
string

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id