Variable BlockConst

Block: ObjectCodec<{
    header: BytesCodec<Partial<Pick<{
        compactTarget: number;
        dao: string;
        epoch: BI;
        extraHash: string;
        number: BI;
        parentHash: string;
        proposalsHash: string;
        timestamp: BI;
        transactionsRoot: string;
        version: number;
    }, never>> & Pick<{
        compactTarget: number;
        dao: string;
        epoch: BI;
        extraHash: string;
        number: BI;
        parentHash: string;
        proposalsHash: string;
        timestamp: BI;
        transactionsRoot: string;
        version: number;
    }, NonNullableKeys<{
        compactTarget: number;
        dao: string;
        epoch: BI;
        extraHash: string;
        number: BI;
        parentHash: string;
        proposalsHash: string;
        timestamp: BI;
        transactionsRoot: string;
        version: number;
    }>> & {
        hash: string;
        nonce: BI;
    }, Header>;
    proposals: ArrayCodec<FixedBytesCodec<string, BytesLike>>;
    transactions: ArrayCodec<BytesCodec<Partial<Pick<{
        cellDeps: PartialNullable<({ outPoint: PartialNullable<{ txHash: string; index: number; }>; depType: DepType; })>[];
        headerDeps: string[];
        inputs: PartialNullable<({ since: BI; previousOutput: PartialNullable<{ txHash: string; index: number; }>; })>[];
        outputs: PartialNullable<({ capacity: BI; lock: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }>; type: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }> | undefined; })>[];
        outputsData: string[];
        version: number;
    }, never>> & Pick<{
        cellDeps: PartialNullable<({ outPoint: PartialNullable<{ txHash: string; index: number; }>; depType: DepType; })>[];
        headerDeps: string[];
        inputs: PartialNullable<({ since: BI; previousOutput: PartialNullable<{ txHash: string; index: number; }>; })>[];
        outputs: PartialNullable<({ capacity: BI; lock: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }>; type: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }> | undefined; })>[];
        outputsData: string[];
        version: number;
    }, NonNullableKeys<{
        cellDeps: PartialNullable<({ outPoint: PartialNullable<{ txHash: string; index: number; }>; depType: DepType; })>[];
        headerDeps: string[];
        inputs: PartialNullable<({ since: BI; previousOutput: PartialNullable<{ txHash: string; index: number; }>; })>[];
        outputs: PartialNullable<({ capacity: BI; lock: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }>; type: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }> | undefined; })>[];
        outputsData: string[];
        version: number;
    }>> & {
        witnesses: string[];
    }, Transaction>>;
    uncles: ArrayCodec<ObjectCodec<{
        header: BytesCodec<Partial<Pick<{
            compactTarget: number;
            dao: string;
            epoch: BI;
            extraHash: string;
            number: BI;
            parentHash: string;
            proposalsHash: string;
            timestamp: BI;
            transactionsRoot: string;
            version: number;
        }, never>> & Pick<{
            compactTarget: number;
            dao: string;
            epoch: BI;
            extraHash: string;
            number: BI;
            parentHash: string;
            proposalsHash: string;
            timestamp: BI;
            transactionsRoot: string;
            version: number;
        }, NonNullableKeys<{
            compactTarget: number;
            dao: string;
            epoch: BI;
            extraHash: string;
            number: BI;
            parentHash: string;
            proposalsHash: string;
            timestamp: BI;
            transactionsRoot: string;
            version: number;
        }>> & {
            hash: string;
            nonce: BI;
        }, Header>;
        proposals: ArrayCodec<FixedBytesCodec<string, BytesLike>>;
    }>>;
}> = ...

Type declaration

  • header: BytesCodec<Partial<Pick<{
        compactTarget: number;
        dao: string;
        epoch: BI;
        extraHash: string;
        number: BI;
        parentHash: string;
        proposalsHash: string;
        timestamp: BI;
        transactionsRoot: string;
        version: number;
    }, never>> & Pick<{
        compactTarget: number;
        dao: string;
        epoch: BI;
        extraHash: string;
        number: BI;
        parentHash: string;
        proposalsHash: string;
        timestamp: BI;
        transactionsRoot: string;
        version: number;
    }, NonNullableKeys<{
        compactTarget: number;
        dao: string;
        epoch: BI;
        extraHash: string;
        number: BI;
        parentHash: string;
        proposalsHash: string;
        timestamp: BI;
        transactionsRoot: string;
        version: number;
    }>> & {
        hash: string;
        nonce: BI;
    }, Header>
  • proposals: ArrayCodec<FixedBytesCodec<string, BytesLike>>
  • transactions: ArrayCodec<BytesCodec<Partial<Pick<{
        cellDeps: PartialNullable<({ outPoint: PartialNullable<{ txHash: string; index: number; }>; depType: DepType; })>[];
        headerDeps: string[];
        inputs: PartialNullable<({ since: BI; previousOutput: PartialNullable<{ txHash: string; index: number; }>; })>[];
        outputs: PartialNullable<({ capacity: BI; lock: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }>; type: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }> | undefined; })>[];
        outputsData: string[];
        version: number;
    }, never>> & Pick<{
        cellDeps: PartialNullable<({ outPoint: PartialNullable<{ txHash: string; index: number; }>; depType: DepType; })>[];
        headerDeps: string[];
        inputs: PartialNullable<({ since: BI; previousOutput: PartialNullable<{ txHash: string; index: number; }>; })>[];
        outputs: PartialNullable<({ capacity: BI; lock: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }>; type: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }> | undefined; })>[];
        outputsData: string[];
        version: number;
    }, NonNullableKeys<{
        cellDeps: PartialNullable<({ outPoint: PartialNullable<{ txHash: string; index: number; }>; depType: DepType; })>[];
        headerDeps: string[];
        inputs: PartialNullable<({ since: BI; previousOutput: PartialNullable<{ txHash: string; index: number; }>; })>[];
        outputs: PartialNullable<({ capacity: BI; lock: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }>; type: PartialNullable<{ codeHash: string; hashType: HashType; args: string; }> | undefined; })>[];
        outputsData: string[];
        version: number;
    }>> & {
        witnesses: string[];
    }, Transaction>>
  • uncles: ArrayCodec<ObjectCodec<{
        header: BytesCodec<Partial<Pick<{
            compactTarget: number;
            dao: string;
            epoch: BI;
            extraHash: string;
            number: BI;
            parentHash: string;
            proposalsHash: string;
            timestamp: BI;
            transactionsRoot: string;
            version: number;
        }, never>> & Pick<{
            compactTarget: number;
            dao: string;
            epoch: BI;
            extraHash: string;
            number: BI;
            parentHash: string;
            proposalsHash: string;
            timestamp: BI;
            transactionsRoot: string;
            version: number;
        }, NonNullableKeys<{
            compactTarget: number;
            dao: string;
            epoch: BI;
            extraHash: string;
            number: BI;
            parentHash: string;
            proposalsHash: string;
            timestamp: BI;
            transactionsRoot: string;
            version: number;
        }>> & {
            hash: string;
            nonce: BI;
        }, Header>;
        proposals: ArrayCodec<FixedBytesCodec<string, BytesLike>>;
    }>>

Generated using TypeDoc