Trait ReadableBaseVault
pub trait ReadableBaseVault: ReadableNativeBalance {
// Required method
fn nonce(&self, index: NonceIndex) -> u64;
}Expand description
Trait for read-only access to base vault data.
Required Methods§
fn nonce(&self, index: NonceIndex) -> u64
fn nonce(&self, index: NonceIndex) -> u64
Returns the current transaction nonce for a specific transaction type.
The nonce is used for transaction ordering and replay protection.