Skip to main content

Variable: TransactionData

const TransactionData: ObjectSchema<object, undefined>

Type declaration

version

readonly version: LiteralSchema<2, undefined>

sender

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

expiration

readonly expiration: NullishSchema<EnumSchema<object>, never>

gasData

readonly gasData: ObjectSchema<object, undefined> = GasData

Type declaration

budget

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

price

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

owner

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

payment

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

inputs

readonly inputs: ArraySchema<EnumSchema<object>, undefined>

commands

readonly commands: ArraySchema<EnumSchema<object>, undefined>