Chaincode event emitted by a transaction function.

interface ChaincodeEvent {
    blockNumber: bigint;
    chaincodeName: string;
    eventName: string;
    payload: Uint8Array<ArrayBufferLike>;
    transactionId: string;
}

Properties

blockNumber: bigint

Block number that included this chaincode event.

chaincodeName: string

Chaincode that emitted this event.

eventName: string

Name of the emitted event.

payload: Uint8Array<ArrayBufferLike>

Application defined payload data associated with this event.

transactionId: string

Transaction that emitted this chaincode event.