get

/v4/internal/transactions/find-creation-hash

Find Creation Transaction Hash

This endpoint searches for the transaction hash that created a campaign by chain ID and campaign ID. Uses binary search with archive node calls to efficiently locate the creation block, then searches for NewCampaign events. Returns the transaction hash, block number, and explorer URL if found, or null values if not found.

Query parameters

chainIdnumber | string
required
campaignIdstring
required

Header parameters

chainIdnumber | string
required
campaignIdstring
required

Responses

200
Response for status 200
Schema
object
hashstring | null
required
blockNumbernumber | null
required
explorerUrlstring | null
required
Example
{
  "hash": "string",
  "blockNumber": 0,
  "explorerUrl": "string"
}
get
https://api.merkl.xyz/v4/internal/transactions/find-creation-hash
Merkl API
curl -X GET "https://api.merkl.xyz/v4/internal/transactions/find-creation-hash"