interface StakingDetailDto {
    amountSatoshi: number;
    babylonAddress?: string;
    createdAt?: string;
    delegationActive?: boolean;
    delegationStatus?: string;
    finalityProviderBtcPk: string;
    isAvailable?: boolean;
    isRegistered: boolean;
    preStakeStatus?: "pending" | "verified" | "rejected";
    registrationType?: string;
    stakingAddress: string;
    stakingTxId: string;
    status: string;
    statusDescription: string;
    timeLock: number;
    unbondingTxId?: string;
    updatedAt?: string;
    withdrawalTxId?: string;
}

Properties

amountSatoshi: number

Amount staked in satoshis

Example

100000
babylonAddress?: string

Babylon address associated with this stake

Example

"bbn1..."
createdAt?: string

When the staking was created

Format

date-time

Example

"2024-01-01T00:00:00.000Z"
delegationActive?: boolean

Whether the delegation is active on Babylon

Example

true
delegationStatus?: string

Delegation status from Babylon

Example

"ACTIVE"
finalityProviderBtcPk: string

Public key of the finality provider

Example

"02abc..."
isAvailable?: boolean

Whether the delegation is available (active and status is ACTIVE)

Example

true
isRegistered: boolean

Whether the staking is registered on Babylon

Example

true
preStakeStatus?: "pending" | "verified" | "rejected"

Pre-stake verification status if applicable

registrationType?: string

The type of registration (pre-stake or post-stake)

Example

"pre-stake"
stakingAddress: string

Bitcoin staking address

Example

"bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq"
stakingTxId: string

The staking transaction ID

Example

"f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16"
status: string

Current status of the staking

Example

"registration-transaction-confirmed"
statusDescription: string

Human-readable description of the current status

Example

"The registration transaction has been broadcasted and confirmed, your staking is now active"
timeLock: number

Time lock in blocks

Example

10000
unbondingTxId?: string

Unbonding transaction ID if unbonding was initiated

Example

"abc123..."
updatedAt?: string

When the staking was last updated

Format

date-time

Example

"2024-01-01T00:00:00.000Z"
withdrawalTxId?: string

Withdrawal transaction ID if withdrawal was completed

Example

"def456..."

Generated using TypeDoc