chainhook icon indicating copy to clipboard operation
chainhook copied to clipboard

contract_call pass down an array of method

Open pradel opened this issue 3 months ago • 0 comments

Is your feature request related to a problem? Please describe.

I want to be able to pass down an array of method to the contract_call scope, smth like:

{
    "if_this": {
        "scope": "contract_call",
        "contract_identifier": "SP000000000000000000002Q6VF78.pox",
        "methods": ["stack-stx", "other-method"]
    },
}

Right now it's not possible so if I want to get events from 3 methods of the same contract I have to create 3 separate JSON config.

pradel avatar Mar 23 '24 16:03 pradel