Skip to content
docs

rawMismatch

rawMismatch(json, decoded): string | null

Defined in: wallet-tron/src/raw.ts:390

First material difference between the dApp’s JSON raw_data and what the bytes say, or null.

{ contract: object[]; data?: string; expiration?: number; fee_limit?: number; ref_block_bytes?: string; ref_block_hash?: string; timestamp?: number; } | undefined

{ contract: object[]; data?: string; expiration?: number; fee_limit?: number; ref_block_bytes?: string; ref_block_hash?: string; timestamp?: number; }

object[]

string

Memo, hex-encoded. Charged getMemoFee when present.

number

number

string

string

number


undefined

Omit<{ contract: object[]; data?: string; expiration?: number; fee_limit?: number; ref_block_bytes?: string; ref_block_hash?: string; timestamp?: number; }, "contract"> & object

string | null