- makePayload(attrs?): Infer<typeof Transaction>
Parameters
attrs: FactoryParam<{
cell_deps: InferShape<{
dep_type: FixedSizeCodec<"code" | "dep_group", code | dep_group | "code" | "dep_group">;
out_point: StructCodec<{
index: FixedSizeCodec<number, string | number>;
tx_hash: FixedSizeCodec<Uint8Array, string | Uint8Array>;
}>;
}>[];
hash: Uint8Array;
header_deps: Uint8Array[];
inputs: InferShape<{
previous_output: StructCodec<{
index: FixedSizeCodec<number, string | number>;
tx_hash: FixedSizeCodec<Uint8Array, string | Uint8Array>;
}>;
since: FixedSizeCodec<bigint, string | bigint>;
}>[];
outputs: InferShape<{
capacity: FixedSizeCodec<bigint, string | bigint>;
lock: TableCodec<{
args: DynamicSizeCodec<Uint8Array, string | Uint8Array>;
code_hash: FixedSizeCodec<Uint8Array, string | Uint8Array>;
hash_type: FixedSizeCodec<"data" | "type" | "data1" | "data2", "data" | data | type | data1 | data2 | "type" | "data1" | "data2">;
}>;
type: OptionCodec<TableCodec<{
args: DynamicSizeCodec<Uint8Array, string | Uint8Array>;
code_hash: FixedSizeCodec<Uint8Array, string | Uint8Array>;
hash_type: FixedSizeCodec<"data" | "type" | "data1" | "data2", "data" | data | type | data1 | data2 | "type" | "data1" | "data2">;
}>>;
}>[];
outputs_data: Uint8Array[];
version: number;
witnesses: Uint8Array[];
}> = {}