Skip to main content

EVM Typed Data

Define and simulate interactions involving EVM typed data (EIP-712) using the Aeon SDK’s AeonClient. This is common for off-chain message signing (permits, meta-transactions).

AeonClient.requestSimulatedTransaction("evm-typed-data", params) (Conceptual)

// Example of queuing an EVM Typed Data simulation operation
const aeonClient = new AeonClient({ simulationUrl: "..." });

const typedData = {
  domain: {
    /* ... EIP-712 domain ... */
  },
  message: {
    /* ... EIP-712 message ... */
  },
  primaryType: "Permit",
  types: {
    /* ... EIP-712 types ... */
  },
};

aeonClient.requestSimulatedTransaction("evm-typed-data", {
  chain: "ethereum",
  userAddress: "0xUSER_ADDRESS",
  typedData: typedData,
  // contractAddress: "0xCONTRACT_THAT_VERIFIES_SIGNATURE" // if applicable
});

// Later, to process and get assembled data:
// const assembledInteractionData = await aeonClient.build();