Cosmos Transaction
Define and simulate transactions for Cosmos SDK-based chains using the Aeon SDK’sAeonClient.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Learn how to simulate Cosmos SDK-based transactions with the Aeon SDK.
AeonClient.
AeonClient.requestSimulatedTransaction("cosmos", params) (Conceptual)// Example of queuing a Cosmos transaction simulation
const aeonClient = new AeonClient({ simulationUrl: "..." });
const messages = [
{
typeUrl: "/cosmos.bank.v1beta1.MsgSend",
value: {
fromAddress: "cosmosSENDER...",
toAddress: "cosmosRECIPIENT...",
amount: [{ denom: "uatom", amount: "1000" }],
},
},
];
aeonClient.requestSimulatedTransaction("cosmos", {
chain: "cosmoshub",
signerAddress: "cosmosSENDER...",
messages: messages,
memo: "Hello from Aeon!",
});
// Later, to process the queue and get the assembled TXB:
// const assembledTxData = await aeonClient.build();