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.
Parameters
Section titled “Parameters”{ contract: object[]; data?: string; expiration?: number; fee_limit?: number; ref_block_bytes?: string; ref_block_hash?: string; timestamp?: number; } | undefined
Type Literal
Section titled “Type Literal”{ contract: object[]; data?: string; expiration?: number; fee_limit?: number; ref_block_bytes?: string; ref_block_hash?: string; timestamp?: number; }
contract
Section titled “contract”object[]
string
Memo, hex-encoded. Charged getMemoFee when present.
expiration?
Section titled “expiration?”number
fee_limit?
Section titled “fee_limit?”number
ref_block_bytes?
Section titled “ref_block_bytes?”string
ref_block_hash?
Section titled “ref_block_hash?”string
timestamp?
Section titled “timestamp?”number
undefined
decoded
Section titled “decoded”Omit<{ contract: object[]; data?: string; expiration?: number; fee_limit?: number; ref_block_bytes?: string; ref_block_hash?: string; timestamp?: number; }, "contract"> & object
Returns
Section titled “Returns”string | null