Packages
Move ABIs, upgrade history, usage, top callers, and a ready transaction template for any public function.
When to use it
- Read a package's modules and functions without compiling anything.
- Find who calls a package and how often.
- Get the shape of a call before you write it.
Quickstart
Replace YOUR_API_KEY with your key from the developer portal, or drop the key header to use the keyless tier. See Quickstart.
1. Get a package
Modules, version and publisher.
curl "https://api.tide.ad/v1/packages/0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270" \
-H "x-api-key: YOUR_API_KEY"2. Read the ABI
Every public function and type.
curl "https://api.tide.ad/v1/packages/0x2c8d603bc51326b8c13cef9dd07031a408a48dddb541963357661df5d3204809/abi" \
-H "x-api-key: YOUR_API_KEY"3. Get a call template
A ready transaction template for one function.
curl "https://api.tide.ad/v1/packages/0x2/functions/coin/split/call" \
-H "x-api-key: YOUR_API_KEY"API reference
| Method | What it does | Credits |
|---|---|---|
| packages.getGET /v1/packages/:id | A Move package: versions, modules, functions and dependencies. | 1 |
| packages.abiGET /v1/packages/:id/abi | The full Move interface of a package: modules, functions, structs, enums and events. | 2 |
| packages.versionsGET /v1/packages/:id/versions | Every version of a package with publisher, time and the modules each upgrade added or removed. | 2 |
| packages.usageGET /v1/packages/:id/usage | How a package is used: calls per day, per function, unique senders, failure rate and events. | 10 |
| packages.callersGET /v1/packages/:id/callers | The top senders that call a package, with call counts, last call time and success rate. | 10 |
| packages.howToCallGET /v1/packages/:id/functions/:module/:function/call | How to call one Move function from a PTB: parameters explained, a TypeScript snippet and a JSON PTB. | 1 |
Full lists: Packages. Every method page has its parameters, credits and an example response.