Developer Fees

List Dev Fee Configs

Changed on

Beta: available by request only. Contact Bridge to enable this feature for your developer account.

List the Dev Fee Configs for the current developer.

get/dev_fee_configs

Request

  • Base URL
    https://api.bridge.xyz/v0
  • URL
    https://api.bridge.xyz/v0/dev_fee_configs
  • Auth
    API key in header Api-Key

Query parameters

limitinteger

The number of items to return (min 1, default 10, max 100)

starting_afterstring

This is a dev fee config id. If this is specified, the next page that starts with a dev fee config right AFTER the specified dev fee config id on the dev fee config timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that dev fee configs older than the specified dev fee config id will be returned (shouldn't be set if ending_before is set)

ending_beforestring

This is a dev fee config id. If this is specified, the previous page that ends with a dev fee config right BEFORE the specified dev fee config id on the dev fee config timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that dev fee configs newer than the specified dev fee config id will be returned (shouldn't be set if starting_after is set)

Response

List of Dev Fee Configs (the returned list is empty if none found)

countinteger required

total number of items in data

Example response

{
  "data": [
    {
      "percent": "0.5"
    }
  ]
}

Changes