@reservoir0x/client-sdk
Typescript SDK for interacting with the Reservoir Router API
https://reservoirprotocol.github.io/docs/api/use-cases/execute-orders
Check out the client-sdk-demo and it's source code.
TypeScript
To get the latest types for the Reservoir API, navigate to /src/types
and run the following command:
npx openapi-typescript https://api.reservoir.tools/swagger.json --output api.ts