Struct ic_btc_interface::Fees
source · pub struct Fees {
pub get_utxos_base: u128,
pub get_utxos_cycles_per_ten_instructions: u128,
pub get_utxos_maximum: u128,
pub get_balance: u128,
pub get_balance_maximum: u128,
pub get_current_fee_percentiles: u128,
pub get_current_fee_percentiles_maximum: u128,
pub send_transaction_base: u128,
pub send_transaction_per_byte: u128,
pub get_block_headers_base: u128,
pub get_block_headers_cycles_per_ten_instructions: u128,
pub get_block_headers_maximum: u128,
}
Fields§
§get_utxos_base: u128
The base fee to charge for all get_utxos
requests.
get_utxos_cycles_per_ten_instructions: u128
The number of cycles to charge per 10 instructions.
get_utxos_maximum: u128
The maximum amount of cycles that can be charged in a get_utxos
request.
A request must send at least this amount for it to be accepted.
get_balance: u128
The flat fee to charge for a get_balance
request.
get_balance_maximum: u128
The maximum amount of cycles that can be charged in a get_balance
request.
A request must send at least this amount for it to be accepted.
get_current_fee_percentiles: u128
The flat fee to charge for a get_current_fee_percentiles
request.
get_current_fee_percentiles_maximum: u128
The maximum amount of cycles that can be charged in a get_current_fee_percentiles
request.
A request must send at least this amount for it to be accepted.
send_transaction_base: u128
The base fee to charge for all send_transaction
requests.
send_transaction_per_byte: u128
The number of cycles to charge for each byte in the transaction.
get_block_headers_base: u128
The base fee to charge for all get_block_headers
requests.
get_block_headers_cycles_per_ten_instructions: u128
The number of cycles to charge per 10 instructions.
get_block_headers_maximum: u128
The maximum amount of cycles that can be charged in a get_block_headers
request.
A request must send at least this amount for it to be accepted.