0

最近(可能与 EIP-1559 升级有关)以前可以工作的 matic 交易对我来说已经停止工作,即使是像转移本国货币这样的基本交易。这些交易仍然适用于其他链(在 bsc 上测试)。

这是我不会经历的代码示例。

Account = new Account(PrivateKey, 137);
Web3 = new Web3(Account, "https://polygon-rpc.com");

var transaction = await Web3.Eth.GetEtherTransferService().TransferEtherAsync(sendToPublicKey, .1m);

从上面返回的事务示例是:0xc12b1d990d7a8a512e8b39e659777db92d4afde9ceb14562ddab8a9c17a18601

返回的交易的状态包括

This txn hash was found in our secondary node and should be picked up by our indexer in a short while.

有些最终会消失,无法再追踪。

我已经尝试过 EIP-1559 和遗留事务。

任何帮助表示赞赏。

4

0 回答 0