Skip to main content

Module withdrawal

Module withdrawal 

Source

Modules§

daily_withdrawal_limit
pooling_serde
Serde helper for Pooling fields exposed through the JS surface.

Enums§

Pooling

Functions§

core_dust_threshold_duffs
The minimum value in duffs an output paying output_script must carry for Core’s mempool to accept it, at a dust relay fee of dust_relay_fee_per_kb duffs per kilobyte.
core_fee_in_credits
Core fee charged by an asset unlock transaction, expressed in Platform credits.
min_withdrawal_amount_with_core_fee
Minimum amount a withdrawal must reserve for Core from protocol version 14: min_withdrawal_amount plus the Core fee of the asset unlock transaction at core_fee_per_byte. From that version the fee is carved out of the reserved amount instead of being drawn from the Core credit pool on top of it, so the amount has to leave the protocol floor above the fee.
validate_core_fee_per_byte_cap
Rejects a Core fee rate above the protocol version’s max_core_fee_per_byte.

Type Aliases§

WithdrawalTransactionIndex
Transaction index type
WithdrawalTransactionIndexAndBytes
Simple type alias for withdrawal transaction with it’s index