Class

OperationCost

OperationCost

The cost of an operation in the network.

Members

# base_fee

Gets the cost of the base fee in unil units.

View Source nillion_client_wasm.js, line 1503

Example
const base_fee = cost.base_fee

# compute_fee

Gets the cost of the compute fee in unil units.

View Source nillion_client_wasm.js, line 1599

Example
const compute_fee = cost.compute_fee

# congestion_fee

Gets the cost of the congestion fee in unil units.

View Source nillion_client_wasm.js, line 1527

Example
const congestion_fee = cost.congestion_fee

# preprocessing_fee

Gets the cost of the preprocessing fee in unil units.

View Source nillion_client_wasm.js, line 1575

Example
const preprocessing_fee = cost.preprocessing_fee

# storage_fee

Gets the cost of the storage fee in unil units.

View Source nillion_client_wasm.js, line 1551

Example
const storage_fee = cost.storage_fee

# total

Gets the total cost of the quote in unil units. The payment associated for the quoted operation must transfer this amount for it to be considered a valid payment.

View Source nillion_client_wasm.js, line 1626

Example
const total = cost.total