Scalars

The Fuel indexer has a collection of GraphQL scalars that cover virtually any value type in use on the Fuel network. The following list contains each GraphQL scalar type along with its equivalent Rust type.

GraphQL ScalarRust TypeNotes
Addressu8[32]
AssetIdu8[32]
Booleanbool
BytesVec<u8>Byte blob of arbitrary size
Bytes32u8[32]
Bytes4u8[4]
Bytes64u8[64]
Bytes8u8[8]
ContractIdu8[32]
HexStringVec<u8>Byte blob of arbitrary size
I128i128
I16i16
I32i32
I64i64
I8i8
IDSizedAsciiString<64>Alias of UID
JsonStringJSON string of arbitrary size
StringStringString of arbitrary size
U128u128
U16u16
U32u32
U64u64
U8u8
UIDSizedAsciiString<64>32-byte unique ID