In-process pool math on the same local token ledger. Tokens must exist first (
/tokens/
). Public read RPC rejects
swap_*
writes. Not Uniswap.
Checking local RPC…
swap_pool_create
token_a
token_b
fee_bps (0 = free pool)
Create pool
swap_pool_info
swap_tvl
add_liquidity
provider
amount_a
amount_b
Add liquidity
swap_quote / swap_exact_in
token_in
token_out
trader / wallet
amount_in
min_out
Quote
Exact in
Exact in (wallet)