V3 transactions resources used for enabling the fee market.

Signature


#[derive(Copy, Drop, Debug, Serde)]
pub struct ResourceBounds {
    pub resource: felt252,
    pub max_amount: u64,
    pub max_price_per_unit: u128,
}

Members

resource

The name of the resource.

Signature

pub resource: felt252

max_amount

The maximum amount of the resource allowed for usage during the execution.

Signature

pub max_amount: u64

max_price_per_unit

The maximum price the user is willing to pay for the resource unit.

Signature

pub max_price_per_unit: u128