Alluvial exposes several APIs to help developers interact with the Liquid Collective Protocol.
This page shows the process for creating an access token.
When onboarding with Alluvial, you will receive API credentials. These include a client_id and client_secret.
After receiving your credentials use the curl request below, updating the client_id and client_secret with your specific credentials.
Response
Request
Response
Ethereum Data API is a collection of APIs that expose read data from the Ethereum network.
List all wallets for a platform account
Account ID or Key of the account
Enable to only return allowlisted wallets
Enable to only return wallets on_platform
Offset for pagination
Limit for pagination
Remove wallet from a given wallet from either the on_platform
, the allowlisted
, or both.
Account ID or Key of the account to remove wallet from
Wallet ID or Address of the wallet to be removed
Enable to remove wallet from the allowlist
Enable to remove wallet on_platform
Set wallet's status to PAUSED
.
Once a wallet's status has been set to PAUSED
:
allowlisted
, it will be unable to stake nor redeem.Depositor ID or Key of the depositor to pause wallet from
Wallet ID or Address of the wallet to be paused
Enable to pause wallet from the allowlist
Enable to pause wallet on_platform
Set a PAUSED
wallet's status to ACTIVE
.
This will enable the wallet to stake and redeem again.
This action can only be performed under these conditions:
PAUSED
status - DENIED
or REMOVED
wallets cannot be reactivated.ACTIVE
status.Depositor ID or Key of the depositor to reactivate wallet from
Wallet ID or Address of the wallet to be reactivated
Enable to reactivate wallet from the allowlist
Enable to reactivate wallet on_platform
Redemption API is a collection of APIs that expose read data on redemptions.
To see APIs used in an example implementation check out the Redemption guide (below).
List the redeem requests for one or multiple owners (addresses)
The address or addresses to query, separated by commas
List a redeem request by the request id, obtained from /eth/v0/redeems
The redeem request id to query
Get a redeem request time projection for becoming redeemable
The redeem request id to query
APIs that allow Platforms to create target discount schedules.
Alluvial exposes several non-authenticated APIs to support DApps