// 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();