@explorer:tx.to
Recipient address of a transaction. Errors for contract-creation transactions (the created contract has no to).
⚗️ Experimental — available at next.evmcrispr.com.
Returns: address
Syntax
Section titled “Syntax”@explorer:tx.to(hash chain?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
hash | bytes32 | Transaction hash |
[chain] | chain | Chain to look on (default: current chain) |
Examples
Section titled “Examples”# Read the target of a transactionset $target @explorer:tx.to(0x16df2e878e23ff261844fc9252f6c8bfcd4cb69f9f80895c6a2f01032b228e13)See Also
Section titled “See Also”- @explorer:tx.from — sender of a transaction
- @explorer:tx — full transaction summary