This trigger fires when a Transaction fails.
- API endpoint slug
- 1shotapi.transactions_failed
Trigger fields
- Label
- Select the Business the Transactions are coming from.
- Helper text
- You can select any business you are a part of.
- Slug
- business_id
- Required
- true
- Can have default value
- false
- Label
- Do you want to trigger for Transactions only from a single chain?
- Helper text
- Optional: Select the chain you want to get Transactions for.
- Slug
- chain_id
- Required
- true
- Can have default value
- false
- Label
- Do you only want to trigger when a Transaction was sent from a particular Wallet?
- Helper text
- Optional: Choose a Wallet from your 1Shot API account to filter transactions.
- Slug
- wallet_id
- Required
- true
- Can have default value
- false
- Label
- Do you only want to trigger when a Transaction from a particular Contract Method fails??
- Helper text
- Optional: Select the name of the Contract Method you want the Transactions for; it must be for the selected business
- Slug
- contract_method_id
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- transaction_id
- Filter code
- _1shotapi.transactionsFailed.TransactionId
- Type
- String
- Example
- E.g. 15c8641d-f200-4c34-b5b9-05cf4da91cad
- Slug
- contract_method_id
- Filter code
- _1shotapi.transactionsFailed.ContractMethodId
- Type
- String
- Example
- E.g. 15c8641d-f200-4c34-b5b9-05cf4da91cad
- Slug
- api_credential_id
- Filter code
- _1shotapi.transactionsFailed.ApiCredentialId
- Type
- String
- Example
- E.g.
- Slug
- user_id
- Filter code
- _1shotapi.transactionsFailed.UserId
- Type
- String
- Example
- E.g. ec4c2c0d-7551-44c5-ac3a-2c1aa8f432b7
- Slug
- transaction_hash
- Filter code
- _1shotapi.transactionsFailed.TransactionHash
- Type
- String
- Example
- E.g. 0x263c12de700bbd4b8029bbd375b6b6146579bc79d11fe780a82813748b717093
- Slug
- memo
- Filter code
- _1shotapi.transactionsFailed.Memo
- Type
- String
- Example
- This can be any string you want, although many people choose to use JSON, such as {"reason": "Paying off the Mob"}
- Slug
- completed
- Filter code
- _1shotapi.transactionsFailed.Completed
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
- Slug
- created
- Filter code
- _1shotapi.transactionsFailed.Created
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00