Skip to main content

Type Alias: Receipt

type Receipt: object;

The receipt interface.

Type declaration

blockHash

blockHash: string;

blockNumber

blockNumber: number;

contractAddress

contractAddress: string;

errorMessage?

optional errorMessage: string;

failedPc

failedPc: number;

flags

flags: Flags[];

gasPrice?

optional gasPrice: string;

gasUsed

gasUsed: string;

includedInMain

includedInMain: boolean;

logs

logs: ILog[];

outputReceipts

outputReceipts: (Receipt | null)[] | null;

outTransactions

outTransactions: Hex[] | null;

shardId

shardId: number;

status

status: string;

success

success: boolean;

transactionHash

transactionHash: Hex;

txnIndex

txnIndex: number;

Defined

@nilfoundation/niljs/src/types/IReceipt.ts:8