interface BuildPreStakeRegistrationDto {
    amountSatoshi: number;
    autoFund: boolean;
    babylonAddress: string;
    feeRate?: number;
    publicKey: string;
    stakingAddress: string;
    timeLock: number;
    utxos?: UtxoDto[];
}

Properties

amountSatoshi: number

Amount in satoshis

Example

1000000
autoFund: boolean

Whether to automatically fund the transaction

Default

false
babylonAddress: string

Babylon address for the delegation

Example

"bbn1abc123..."
feeRate?: number

Fee rate in satoshis per byte

Example

10
publicKey: string

Public key in hex format (compressed or uncompressed)

Example

"02a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7"
stakingAddress: string

Staking address (must be valid for current network)

Example

"bc1..."
timeLock: number

Time lock in blocks

Example

10000
utxos?: UtxoDto[]

Specific UTXOs to use (optional)

Generated using TypeDoc