EthTx: {
    data: string;
    gas_limit: number;
    kind: "eth";
    to: string;
    value: EthValue;
}

Type declaration

  • data: string

    Hex-encoded calldata (with or without 0x).

  • gas_limit: number

    Gas limit to include in the transaction.

  • kind: "eth"

    Kind marker for Ethereum-compatible calls.

  • to: string

    Hex-encoded destination address (with or without 0x). Empty string indicates contract creation. The backend expects raw bytes parsed from hex.

  • value: EthValue

    Transaction value (wei). Accepts:

    • Decimal strings (e.g. '1000000000000000000')
    • 0x-prefixed hex strings (e.g. '0xde0b6b3a7640000')
    • bigint
    • Safe JS integers (will be converted to string)

    Values are normalized to decimal strings before submission to preserve precision.