Contracts endpoint
Method: GET
/gateway/contracts?page=<page>
- returns the list of all the currently registered contracts.
Result is ordered by [last_interaction_height DESC, count(interaction) DESC]
Parameters:
contractType
[optional] - filter records by contract type. If not set, all types of contracts are returned.pst
other
sourceType
[optional] - filter records by contract source type. If not set, all contracts are returned.application/wasm
application/javascript
page
[optional] - page, e.g.:gateway/contracts?page=3
. If not set, first page is returned by default.limit
[optional] - amount of interactions per single page
Examples:
https://gateway.warp.cc/gateway/contracts
https://gateway.warp.cc/gateway/contracts?page=6