MetaMask MCP

wait-for-transaction-receipt

Retrieve the transaction receipt by waiting for a specified number of block confirmations on the blockchain using the transaction hash and chain ID.

Instructions

Waits for the transaction to be included on a block, and then returns the transaction receipt.

Input Schema

NameRequiredDescriptionDefault
chainIdNoID of chain to use when fetching data.
confirmationsNoThe number of confirmations (blocks that have passed) to wait before resolving.
hashYesThe 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" }
ID: cw2ldcetl4