utils/types library

Typedefs

AuthToken = String
An opaque string representing a unique identifying token issued by the wallet endpoint to the dApp endpoint. The format and contents are an implementation detail of the wallet endpoint. The dApp endpoint can use this on future connections to reauthorize access to privileged methods.
Base64EncodedAddress = String
A base-64 encoded account address.
Base64EncodedMessage = String
A base-64 encoded message payload.
Base64EncodedSignature = String
A base-64 encoded transaction signature.
Base64EncodedSignedMessage = String
A base-64 encoded signed message.
Base64EncodedSignedTransaction = String
A base-64 encoded signed transaction.
Base64EncodedTransaction = String
A base-64 encoded transaction payload.
f32 = double
f64 = double
i16 = int
i32 = int
i64 = int
i8 = int
Types
isize = int
JsonRpcListParser<T> = JsonRpcParser<List<T>, List>
A function signature to convert a List into list of type T.
JsonRpcMapParser<T> = JsonRpcParser<T, Map<String, dynamic>>
A function signature to convert a JSON object into an instance of type T.
JsonRpcObjectParser<T> = JsonRpcParser<T, Object>
A function signature to convert an Object into an instance of type T.
JsonRpcParser<T, U> = T Function(U input)
A function signature to convert an input value of type U into an instance of type T.
SubscriptionId = int
A subscription's unique identifier.
u16 = int
u32 = int
u64 = int
u8 = int
usize = int