Axiome Trade Contract API
This document describes the public interface of the AMM contract for integration with third‑party applications and services. Message examples are provided in JSON format — exactly as they are sent to
Notation and conventions
Queries (QueryMsg)
2
3
4
How to obtain a swap price
{ "token1_for_token2_price": { "token1_amount": "<in_amount>" } }{ "token2_amount": "<out_amount>" }{ "token2_for_token1_price": { "token2_amount": "<in_amount>" } }{ "token1_amount": "<out_amount>" }
How to obtain pool reserves and metadata
How to obtain current fees
Instantiate message
Execute messages (ExecuteMsg) — brief
Quick query examples
Errors and general recommendations
Compatibility and versions
Last updated
