【问题标题】:Cadence flow blockchain Error: failed to execute the script on the execution nodeCadence flow blockchain Error: 在执行节点上执行脚本失败
【发布时间】:2022-09-23 18:14:41
【问题描述】:

我们正在使用@onflow/fcl(节奏语言)和简洁的钱包来进行区块链交易并调用这个端点!

https://access-mainnet-beta.onflow.org/flow.access.AccessAPI/ExecuteScriptAtLatestBlock

在调用上面的端点后,我们得到了这个错误,它的描述性不足以得到一个想法。

Error: failed to execute the script on the execution node execution-any-id@p2p.1234-5678-9811-1234-1234567.flow.bison.run:1234=123: rpc error: code = InvalidArgument desc = failed to execute script at block.

这是一个 POST 调用,使用 SSR 从 Next.js 前端进行调用。

任何帮助表示赞赏!

    标签: blockchain ethereum metamask wallet-connect onflow-cadence


    【解决方案1】:

    要访问流主网端点,端点是

    https://rest-mainnet.onflow.org
    

    有一件事您的问题尚未完全理解,请提供具体细节,例如您在前端或后端与 FCL 进行交互。

    【讨论】:

    • 更新了我的问题!