Type alias TransactionRequestBase<TQuantity, TIndex>

TransactionRequestBase<TQuantity, TIndex>: {
    data?: Hex;
    from: Address;
    gas?: TQuantity;
    nonce?: TIndex;
    to?: Address | null;
    value?: TQuantity;
}

Type Parameters

  • TQuantity = bigint

  • TIndex = number

Type declaration

  • Optional data?: Hex

    Contract code or a hashed method call with encoded args

  • from: Address

    Transaction sender

  • Optional gas?: TQuantity

    Gas provided for transaction execution

  • Optional nonce?: TIndex

    Unique number identifying this transaction

  • Optional to?: Address | null

    Transaction recipient

  • Optional value?: TQuantity

    Value in wei sent with this transaction

Generated using TypeDoc