@receipts:tx.value
Native value sent with a transaction, in wei.
⚗️ Experimental — available at next.evmcrispr.com.
Returns: number
Syntax
Section titled “Syntax”@receipts:tx.value(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 native value of a transaction on another chainset $wei @receipts:tx.value(0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060 mainnet)See Also
Section titled “See Also”- @receipts:tx.fee — fee paid for a transaction
- @receipts:tx — full transaction summary