POST
/
api
/
v1
/
realms
/
{realmId}
/
web3
/
activations
curl --request POST \
  --url https://api.drip.re/api/v1/realms/{realmId}/web3/activations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "activationType": "nft",
  "contractAddress": "<string>",
  "chain": "ethereum",
  "configs": [
    {
      "configType": "generator",
      "settings": {
        "intervalHours": 123,
        "dict": {},
        "listingPenalty": "<string>",
        "listingPenaltyPrice": 123,
        "listingPenaltyChain": "<string>"
      },
      "pointsConfig": [
        {
          "realmPointId": "<string>",
          "baseYield": 123,
          "maxBalance": 123,
          "roundType": "<string>",
          "isStackable": true,
          "tokenRatio": 123
        }
      ]
    }
  ]
}'
{
  "id": "<string>",
  "activationType": "nft",
  "contractAddress": "<string>",
  "chain": "ethereum",
  "collectionKey": "<string>",
  "displayName": "<string>",
  "configs": [
    {
      "configType": "generator",
      "id": "<string>",
      "settings": {
        "intervalHours": 123,
        "lastRun": "2023-11-07T05:31:56Z",
        "dict": {},
        "listingPenalty": "<string>",
        "listingPenaltyPrice": 123,
        "listingPenaltyChain": "<string>"
      },
      "pointsConfig": [
        {
          "id": "<string>",
          "realmWeb3ActivationConfigId": "<string>",
          "realmPointId": "<string>",
          "baseYield": 123,
          "maxBalance": 123,
          "roundType": "<string>",
          "isStackable": true,
          "tokenRatio": 123,
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z"
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API Key

Path Parameters

realmId
string
required

Body

application/json
activationType
enum<string>
required
Available options:
nft,
erc1155,
token
contractAddress
string
required
chain
enum<string>
default:ethereum
required
Available options:
ethereum,
polygon,
base,
apechain,
arbitrum,
arbitrumNova,
abstract,
avalanche,
b3,
berachain,
blast,
bsc,
boss,
cyber,
degen,
flow,
forma,
hychain,
linea,
nebula,
opbnb,
optimism,
polygonZkEVM,
redstone,
scroll,
sei,
shape,
soneium,
xai,
zero,
zora,
zksync,
solana
configs
any[] | null

Response

201
application/json
Default Response

The response is of type any.