@chorus-one/ethereum
Version:
All-in-one toolkit for building staking dApps on Ethereum network
22 lines (18 loc) • 373 B
text/typescript
import { Hex } from 'viem'
/**
* Represents an Ethereum transaction.
*/
export interface Transaction {
/**
* The recipient (receiver) address in hexadecimal format.
*/
to: Hex
/**
* The amount of Wei to be sent with the transaction.
*/
value?: bigint
/**
* The data to be included in the transaction in hexadecimal format.
*/
data: Hex
}