在使用trust-web3-provider的过程中,返回给Dapp交易的数据不知道是啥,一直报错(图片如下)。尝试了交易hash
整个交易数据
pancakeswap都报参数错误,卡了好几天了。
求助
求助
求助
let callback = `window.ethereum.sendResponse(${data.id}, ["${res.data.hash}"])`
this.wv.evalJS(callback)
{
nonce: 49,
gasPrice: BigNumber { _hex: '0x012a05f200', _isBigNumber: true },
gasLimit: BigNumber { _hex: '0x024d04', _isBigNumber: true },
to: '0x10ED43C718714eb63d5aA57B78B54704E256024E',
value: BigNumber { _hex: '0x00', _isBigNumber: true },
data: '0x18cbafe5000......c095c',
chainId: 56,
v: 148,
r: '0x3427e034a8c72656aa1dd8d75384dc55f9f6636357d48da5b0dfb65fe0850e74',
s: '0x7df8fda38bd07a90b107601074525df69bb4efffcef1c5b018a27cf45113e846',
from: '0xf40FaD5FEA83286c409653A720391c204cdBd4F1',
hash: '0xb2be30d72ad63d9f234be93a5e58786e5e1169adb450314383d3ce30694f972b',
type: null,
confirmations: 0,
wait: [Function (anonymous)]
}