Bundle fields for a transaction input

interface InputCell {
    cellInput: InferShape<{
        previous_output: StructCodec<{
            index: FixedSizeCodec<number, string | number>;
            tx_hash: FixedSizeCodec<Uint8Array, string | Uint8Array>;
        }>;
        since: FixedSizeCodec<bigint, string | bigint>;
    }>;
    cellOutput: 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">;
        }>>;
    }>;
    data: Uint8Array;
}

Properties

cellInput: InferShape<{
    previous_output: StructCodec<{
        index: FixedSizeCodec<number, string | number>;
        tx_hash: FixedSizeCodec<Uint8Array, string | Uint8Array>;
    }>;
    since: FixedSizeCodec<bigint, string | bigint>;
}>

Type declaration

cellOutput: 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">;
    }>>;
}>

Type declaration

data: Uint8Array

Generated using TypeDoc