【问题标题】:How do I get the amount of custom token transfered in a transaction with @solana/web3.js?如何获取在与@solana/web3.js 的交易中转移的自定义令牌数量?
【发布时间】:2021-09-27 00:41:33
【问题描述】:

我想获取使用带有@solana/web3.js 的交易签名传输的自定义令牌的数量。我该怎么做?

提前谢谢你。

【问题讨论】:

    标签: solana


    【解决方案1】:

    为此,您将使用:

    connection.getTransaction();
    

    【讨论】:

      猜你喜欢
      • 2021-09-15
      • 2021-12-05
      • 2021-11-02
      • 2021-12-22
      • 2018-08-02
      • 2021-12-10
      • 2021-12-20
      • 2021-12-18
      • 2022-07-22
      相关资源
      最近更新 更多