interface UploadResult {
    checksum: string;
    codeId: number;
    compressedSize: number;
    events: readonly Event[];
    gasUsed: number;
    gasWanted: number;
    height: number;
    logs: readonly Log[];
    originalSize: number;
    transactionHash: string;
}

Properties

checksum: string

A hex encoded sha256 checksum of the original Wasm code (that is stored on chain)

codeId: number

The ID of the code asigned by the chain

compressedSize: number

Size of the compressed wasm code in bytes

events: readonly Event[]
gasUsed: number
gasWanted: number
height: number

Block height in which the transaction is included

logs: readonly Log[]
originalSize: number

Size of the original wasm code in bytes

transactionHash: string

Transaction hash (might be used as transaction ID). Guaranteed to be non-empty upper-case hex

Generated using TypeDoc