Token swap guide smart contract
Who this is for: developers and technical LUMIA holders who would rather call a swap contract directly than use a web interface. For the UI-based path, see Token swap guide (UI).
Verify before you call a contract
Calling the wrong contract, or the right contract with the wrong parameters, can burn gas, fail silently, or send a token approval to an address that never returns it. Always get contract addresses from Contract addresses rather than an unverified source.
Last updated
Was this helpful?