Approve token allowence
Execution Scope (Single-hop vs Multihop)
/public/emigroswap/buildTransaction returns a fully-formed single-hop transaction, including:
routerAddressabiFunctionSignatureabiParametersadapterAddressadapterDataamountOut(RAW) andminAmountIn(RAW)
What’s supported internally (multihop):
Your backend service already supports multihop execution via swapExactInputPathVia(...) when an intent is created and executed by the server. That flow is internal today.
Planned/optional (future public multihop):
If/when you expose multihop via the public buildTransaction, the response will mirror the single-hop shape and include:
routerAddressabiFunctionSignature: "swapExactInputPathVia(address,address[],uint256,uint256,address,bytes)"abiParameters(withpathand per-hopadapterDataencoded)
Until that is exposed, external callers should use single-hop buildTransaction responses as-is.
If you need for refference, you can check in API REFERENCE the correct smartcontract router address in the correct chain
Approve the router (ERC-20)
Last updated

