get
/v4/internal/transactions/find-creation-hash
Find Creation Transaction HashThis 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 | stringrequired
campaignIdstringrequired
Header parameters
chainIdnumber | stringrequired
campaignIdstringrequired
Responses
200Response for status 200
Schema
object
hashstring | nullrequired
blockNumbernumber | nullrequired
explorerUrlstring | nullrequired
Example
{
"hash": "string",
"blockNumber": 0,
"explorerUrl": "string"
}get
https://api.merkl.xyz/v4/internal/transactions/find-creation-hashcurl -X GET "https://api.merkl.xyz/v4/internal/transactions/find-creation-hash"