uniswapapi.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Approval
check
approval.check
Check if a wallet has the required token approval for a swap
Risk: read
Output
approval full type
approval full type
cancel full type
cancel full type
Delegation
check
delegation.check
Check wallet delegation status for smart contract wallets across chains
Risk: read
Output
delegationDetails full type
delegationDetails full type
Order
getStatus
order.getStatus
Get the status and details of a gasless UniswapX order
Risk: read
Output
orders full type
orders full type
Quote
get
quote.get
Get a swap/bridge/wrap quote with route and estimated gas
Risk: read
Output
quote full type
quote full type
permitData full type
permitData full type
route full type
route full type
Swap
create
swap.create
Create swap calldata (unsigned transaction) for broadcast
Risk: write
quote full type
quote full type
permitData full type
permitData full type
swap full type
swap full type
getStatus
swap.getStatus
Get swap status (PENDING, SUCCESS, NOT_FOUND, FAILED, EXPIRED) by tx or userOp hash
Risk: read
Output
swaps full type
swaps full type
Swappable Tokens
get
swappableTokens.get
List tokens and chains a source token can be swapped or bridged to
Risk: read
Output
tokens full type
tokens full type
Transaction
encode7702
transaction.encode7702
Batch transactions into one for EIP-7702 smart contract wallet execution
Risk: write
calls full type
calls full type
encoded full type
encoded full type