[go: up one dir, main page]

fuels-core 0.11.0

Fuel Rust SDK core.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use fuel_tx::Word;
use fuel_types::AssetId;

pub const DEFAULT_GAS_LIMIT: u64 = 1_000_000;
pub const DEFAULT_GAS_PRICE: u64 = 0;
pub const DEFAULT_BYTE_PRICE: u64 = 0;
pub const DEFAULT_MATURITY: u32 = 0;

pub const WORD_SIZE: usize = core::mem::size_of::<Word>();

// This constant is used to determine the amount in the 1 UTXO
// when initializing wallets for now.
pub const DEFAULT_COIN_AMOUNT: u64 = 1_000_000;

// This constant is the bytes representation of the asset ID of
// Ethereum right now, the "native" token used for gas fees.
pub const NATIVE_ASSET_ID: AssetId = AssetId::new([0u8; 32]);