interface BuildStakingTransactionDto {
    amountSatoshi: number;
    autoFund?: boolean;
    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
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[]

Array of UTXOs to use for the transaction

Generated using TypeDoc