v2

latestOpenAPI 3.1.02026-08-01170225.5 KB
Action
Action Template

Get all Action Templates

Returns all known Action Templates that can aid in initializing new Boost Actions and Incentives, with information about project smart contract deployments, event and function signatures, claimant configuration information, and placeholder reward configuration.

get/action-templates

Query parameters

addressstring

Filter by budget account address

Example:0x378632819f39c74c4f56b1429e760739c5fb51b7
onlyActiveboolean

Only return active templates (default: true)

statusstring

Filter by template status(es). Accepts a single status or comma-separated list.

Example:approved,pending

Response

Returns a list of all Action Templates registered to the system

Example response

[
  {
    "actionTemplate": {
      "actionType": "mint",
      "projectId": "zora",
      "description": "Reward any who buys a specific ERC-20 token on Zora",
      "title": "Buy a specific token",
      "boostConfig": {
        "selectedContract": {
          "ID": "eth:8453:0x777777751622c0d3258f214f9df38e35bf45baf3",
          "address": "0x378632819f39c74c4f56b1429e760739c5fb51b7",
          "deployment_information": {
            "address": "0x378632819f39c74c4f56b1429e760739c5fb51b7",
            "network_id": "8453"
          }
        },
        "selectedSignatureHash": "0xb362243af1e2070d7d5bf8d713f2e0fab64203f1b71462afbe20572909788c5e",
        "selectedSignature": "event CoinCreated(address indexed caller, address indexed payoutRecipient, address indexed platformReferrer, address currency, string uri, string name, string symbol, address coin, address pool, string version)",
        "parameterFilters": [
          {
            "parameter": "to:1",
            "comparator": "==",
            "tupleParameters": [
              "field1:1"
            ]
          }
        ],
        "logFilters": [
          {
            "contract": {
              "ID": "eth:8453:0x777777751622c0d3258f214f9df38e35bf45baf3",
              "address": "0x378632819f39c74c4f56b1429e760739c5fb51b7",
              "deployment_information": {
                "address": "0x378632819f39c74c4f56b1429e760739c5fb51b7",
                "network_id": "8453"
              }
            },
            "signatureHash": "0xb362243af1e2070d7d5bf8d713f2e0fab64203f1b71462afbe20572909788c5e",
            "signature": "event Transfer(address indexed from, address indexed to, uint256 amount)",
            "parameters": [
              {
                "parameter": "to:1",
                "comparator": "==",
                "tupleParameters": [
                  "field1:1"
                ]
              }
            ]
          }
        ],
        "claimantContract": {
          "ID": "eth:8453:0x777777751622c0d3258f214f9df38e35bf45baf3",
          "contract_name": "ZoraTimedSaleStrategy",
          "address": "0x378632819f39c74c4f56b1429e760739c5fb51b7",
          "deployment_information": {
            "address": "0x378632819f39c74c4f56b1429e760739c5fb51b7",
            "network_id": "7777777"
          }
        },
        "claimantSignatureHash": "0xb362243af1e2070d7d5bf8d713f2e0fab64203f1b71462afbe20572909788c5e",
        "claimantSignature": "function mint(address mintTo, uint256 quantity, address collection, uint256 tokenId, address mintReferral, string comment) payable",
        "claimantParameterMapping": "mintTo",
        "reward": {
          "type": "pegged-variable-criteria",
          "peg": "0x378632819f39c74c4f56b1429e760739c5fb51b7"
        },
        "criteria": {
          "signature": "0xb362243af1e2070d7d5bf8d713f2e0fab64203f1b71462afbe20572909788c5e"
        },
        "rewardMultiplier": "4000000000000"
      },
      "nameConfig": {
        "abiFilters": [
          {
            "signature": "0x00000000000000000000000000000000000000000000000000000000a836f32f"
          }
        ]
      },
      "allowlist": [
        "0x378632819f39c74c4f56b1429e760739c5fb51b7"
      ],
      "builderMetadata": {
        "budgetAccount": {
          "address": "0x378632819f39c74c4f56b1429e760739c5fb51b7"
        }
      }
    },
    "project": {
      "id": "zora"
    }
  }
]