ChainId returns which chain id this transaction was signed for (if at all)
()
| 105 | |
| 106 | // ChainId returns which chain id this transaction was signed for (if at all) |
| 107 | func (tx *Transaction) ChainId() *big.Int { |
| 108 | return deriveChainId(tx.data.V) |
| 109 | } |
| 110 | |
| 111 | // Protected returns whether the transaction is protected from replay protection. |
| 112 | func (tx *Transaction) Protected() bool { |