This API lets you add wallet addresses to the allowlist of your stablecoin's contracts, and take them off again. Once a wallet is on a contract's allowlist, it may hold and transact the asset according to the contract's rules.
The API is resource-oriented:
ast_demousd and a permanent key generated by us. Responses carry the readable id in assetId and the permanent key in assetUuid; when you read the contract itself, the permanent key is its id (see Read your assets). The readable id can be changed on request; the key never changes and is returned, never accepted in a URL. Predicate can also give your asset an asset name that stands for all of its contracts at once (see Which id goes in the URL).You can add a wallet, remove it (see Remove a wallet), and try a wallet again when its work did not succeed (see Retry).
This page describes the endpoints your API key is supported on. A path under /assets that this page does not describe is not part of the supported surface: it may change or be refused at any time. Asset setup and operational recovery are handled by Predicate on your behalf — see Handled by Predicate.
https://api.predicate.io/v1
Every endpoint on this page is under /assets.
The API accepts JSON request bodies and returns JSON response bodies, including errors.
Content-Type: application/json when a request includes a body.Accept: application/json on every request.Content-Type: application/json.400. Fields are not silently ignored.400.