transaction-models

Create and decode Ethereum transactions in legacy, EIP-1559, EIP-2930, and EIP-7702 formats.

2.3k|747|Updated Nov 23, 2015
One-click install
npx skills add https://github.com/Nethereum/Nethereum --skill transaction-models
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: transaction-models
Source: https://github.com/Nethereum/Nethereum/tree/main/plugins/nethereum-skills/skills/transaction-models
Command: npx skills add https://github.com/Nethereum/Nethereum --skill transaction-models

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill simplifies the creation, decoding, and inspection of various Ethereum transaction types, making complex blockchain interactions more manageable.

Core Features & Use Cases

  • Transaction Creation: Construct legacy, EIP-1559, EIP-2930, and EIP-7702 transactions.
  • Decoding & Recovery: Decode RLP-encoded transactions and recover sender addresses.
  • Use Case: You need to prepare a transaction to send ETH on the Sepolia testnet using the EIP-1559 fee model. This Skill can help you construct the transaction object with the correct parameters.

Quick Start

Use the transaction-models skill to create an EIP-1559 transaction for chain ID 1, with nonce 0, max priority fee 10 Gwei, max fee 20 Gwei, gas limit 21000, to address '0x123...', and value 0.01 ETH.

Frequently Asked Questions about transaction-models

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an EIP-1559 transaction for Ethereum?

To create an EIP-1559 transaction, specify the chain ID, nonce, max priority fee, max fee, gas limit, destination address, and value. This Skill constructs the transaction object with the correct parameters for deterministic blockchain operations.

What Ethereum transaction types does EIP-7702 include?

EIP-7702 is one of the Ethereum transaction models supported alongside legacy, EIP-1559, and EIP-2930 formats. This Skill manages the creation, inspection, and decoding of these transaction types to simplify complex blockchain interactions.

How do I decode an RLP-encoded Ethereum transaction and recover the sender address?

Decoding an RLP-encoded Ethereum transaction allows you to inspect its contents and recover the sender address. This Skill facilitates RLP decoding and sender address recovery for various transaction formats including EIP-2930 and EIP-7702.

When do I need to include access lists in my Ethereum transactions?

Access lists are needed for EIP-2930 and EIP-1559 transactions to pre-specify storage keys, reducing gas costs. This Skill supports access lists and chain IDs to ensure deterministic blockchain operations across different transaction models.

Can I prepare Ethereum transactions for the Sepolia testnet using EIP-1559?

Yes, you can prepare transactions for the Sepolia testnet using the EIP-1559 fee model. This Skill helps construct the transaction object with the correct parameters, including chain ID, gas limit, and Gwei fees, for testnet deployment.