wait-for-transaction-receipt
Monitors blockchain transactions, waits for inclusion in a block, and returns the receipt once confirmed. Input transaction hash and optional confirmations to track progress securely.
Instructions
Waits for the transaction to be included on a block, and then returns the transaction receipt.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | ID of chain to use when fetching data. | |
confirmations | No | The number of confirmations (blocks that have passed) to wait before resolving. | |
hash | Yes | The transaction hash to wait for. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chainId": {
"description": "ID of chain to use when fetching data.",
"type": "number"
},
"confirmations": {
"default": 0,
"description": "The number of confirmations (blocks that have passed) to wait before resolving.",
"type": "number"
},
"hash": {
"description": "The transaction hash to wait for.",
"type": "string"
}
},
"required": [
"hash"
],
"type": "object"
}