TxEnvelopeTempo.assert
Asserts a TxEnvelopeTempo.TxEnvelopeTempo is valid.
Imports
Named
import { TxEnvelopeTempo } from 'ox/tempo'Examples
import { TxEnvelopeTempo } from 'ox/tempo'
TxEnvelopeTempo.assert({
calls: [{ to: '0x0000000000000000000000000000000000000000', value: 0n }],
chainId: 1,
maxFeePerGas: 1000000000n,
})Definition
function assert(
envelope: PartialBy<TxEnvelopeTempo, 'type'>,
): voidSource: src/tempo/TxEnvelopeTempo.ts
Parameters
envelope
- Type:
PartialBy<TxEnvelopeTempo, 'type'>
The transaction envelope to assert.
Return Type
void

