跳到主要内容

12 篇文档带有标签「交易」

查看所有标签

Brownie

学习如何使用 Brownie 部署 ERC-20 代币。

Nonce 管理

在Conflux中,每个账户都有一个nonce值,表示该账户执行的交易序号。 可以使用RPC方法cfxgetNextNonce获取此值。 交易中的nonce字段用于指定执行顺序,较低的nonce值表示较早地执行。 通常情况下,可以直接将这个值作为下一次交易的nonce。

trace 命名空间

Through trace RPCs we can know the transaction executive details. To use these RPC Conflux archive node need set two additional config:

txpool 命名空间

txpool 相关的 RPC 可以让开发者获取更多关于交易池的信息。 Which was introduced from conflux-rust v1.1.6.

web3.js

This page is meant to guide you through the basics on how to use web3.js when developing on Conflux eSpace.

web3.py

This page is meant to guide you through the basics on how to use web3.py when developing on Conflux eSpace.

交易

Conflux eSpace initially supports transactions in the Ethereum 155 format (legacy transactions). After the v2.4.0 hardfork, it starts to accept type-1 (EIP-2930) and type-2 (EIP-1559) format transactions. This compatibility enables seamless transition for mainstream Ethereum SDKs and tools. Type-3 transactions (EIP-4844) are currently not supported.

概览

交易是区块链中的一个重要概念。 如果你不熟悉交易的概念,并希望快速了解它,你可以阅读 交易快速入门。