This action will execute one of the Contract Methods you have defined in your 1Shot API account and create a Transaction.
Developer info
API endpoint slug
1shotapi.execute
Filter code method
_1shotapi.execute.skip(string?: reason)
Runtime method
runAction("1shotapi.execute", {})
Action fields
Contract method Dropdown list
Label
Choose the Contract Method you want to execute
Slug
contract_method_id
Required
true
Can have default value
false
Params Text input > Other
Label
Enter the parameters for the Contract Method
Helper text
This must be in JSON format. For example, a "mint" method's params may look like this: {"amount":"10000","to":"0x3e6a2f0CBA03d293B54c9fCF354948903007a798"}. This must be at least an object, {}
Slug
params
Required
true
Can have default value
true
Memo Text input > Other
Label
Enter any text you want included with the Transaction as a memo
Helper text
This may be anything you want, including technical information you want to save. Many people use JSON here.