# Updating Gas/Gwei Pricing [TOC] ## Overview For Blocks `baseFeePerGas` For Transactions `MaxPriorityFeePerGas` `MaxFeePerGas` ## Go Ethereum ```go= type TransactionArgs struct { From *common.Address \`json:"from"\` To *common.Address \`json:"to"\` Gas *hexutil.Uint64 \`json:"gas"\` GasPrice *hexutil.Big \`json:"gasPrice"\` MaxFeePerGas *hexutil.Big \`json:"maxFeePerGas"\` MaxPriorityFeePerGas *hexutil.Big \`json:"maxPriorityFeePerGas"\` Value *hexutil.Big \`json:"value"\` Nonce *hexutil.Uint64 \`json:"nonce"\` ``` ### Block ```graphql export class Block { hash: Bytes parentHash: Bytes unclesHash: Bytes author: Address stateRoot: Bytes transactionsRoot: Bytes receiptsRoot: Bytes number: BigInt gasUsed: BigInt gasLimit: BigInt baseFeePerGas: BigInt | null timestamp: BigInt difficulty: BigInt totalDifficulty: BigInt size: BigInt | null } ``` ### Transaction ```graphql export class Transaction { hash: Bytes index: BigInt from: Address to: Address | null value: BigInt gasLimit: BigInt gasPrice: BigInt input: Bytes } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up