Skip to main content

Variable: SerializedTransactionDataV2

const SerializedTransactionDataV2: ObjectSchema<object, undefined>

Type declaration

version

readonly version: LiteralSchema<2, undefined>

sender

readonly sender: NullishSchema<SchemaWithPipe<readonly [StringSchema<undefined>, TransformAction<string, string>, CheckAction<string, undefined>]>, undefined>

expiration

readonly expiration: NullishSchema<GenericSchema<EnumInputShape<object>>, undefined>

gasData

readonly gasData: ObjectSchema<object, undefined> = GasData

Type declaration

budget

readonly budget: NullableSchema<SchemaWithPipe<readonly [UnionSchema<[StringSchema<undefined>, SchemaWithPipe<readonly [..., ...]>], undefined>, CheckAction<string | number, "Invalid u64">]>, undefined>

price

readonly price: NullableSchema<SchemaWithPipe<readonly [UnionSchema<[StringSchema<undefined>, SchemaWithPipe<readonly [..., ...]>], undefined>, CheckAction<string | number, "Invalid u64">]>, undefined>

owner

readonly owner: NullableSchema<SchemaWithPipe<readonly [StringSchema<undefined>, TransformAction<string, string>, CheckAction<string, undefined>]>, undefined>

payment

readonly payment: NullableSchema<ArraySchema<ObjectSchema<object, undefined>, undefined>, undefined>

inputs

readonly inputs: ArraySchema<GenericSchema<EnumInputShape<object>>, undefined>

commands

readonly commands: ArraySchema<GenericSchema<EnumInputShape<object>>, undefined>