REST API
Split API methods
Our API offers a range of benefits for various B2B categories, including Wallets, Node Providers, DEX, Trading Bots and DeFi Protocols:
Gasless transactions;
Smart DEX Routing & Cross-chain scaling;
MEV Protection on any EVM chain;
Additional revenue stream from arbitrage.
How it works: Users make swaps, we make a profit through atomic transaction backrunning and return it to you, you can keep the profit for yourself or share it with users.
SPLX custom methods
Request: getOut
getOutThis request fetches the output of a transaction, detailing all the parameters involved in the trade including tokens, trader, volume, partner and more.
https://rpc.splitex.app/api/{chainID}/getOut POST
json body: {
fromToken, *
toToken, *
volume, *
destChainID
}Response: This returns the amount received from the transaction.
Request: swap
swapThis request is for performing a token swap operation.
Response: Returns the transaction hash of the performed swap operation.
If chainID same with destChainID:
If chainID not same with destChainID:
Last updated