Crypto
#ethereum
#eth
#txhash
#transaction
Ethereum Transaction Hash
Matches an Ethereum transaction hash — 0x followed by exactly 64 hexadecimal characters.
✓ Block explorer links✓ Transaction tracking✓ Payment confirmation
✓ Valid Examples
- 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060
- 0xb5c8bd9430b6cc87a0e2fe110ece6bf527fa4f170a4bc8cd032f768fc5219838
✗ Invalid Examples
- 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
- 5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060
- 0xZZZZ
Usage & Integration
Validate Ethereum Transaction Hash natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('txhash-eth', '...');Python
from regexto_validators import validate
validate("txhash-eth", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("txhash-eth", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('txhash-eth', '...');Rust
use regexto_validators::validate;
let is_valid = validate("txhash-eth", "...").unwrap();