Appchain支持HttpProvider超时参数设置

如题,Appchain支持HttpProvider超时参数设置吗?

支持的, 用法与 web3.js 一致(https://github.com/ethereum/web3.js/tree/1.0/packages/web3-providers-http)

const options = {
    timeout: 20000, // milliseconds,
};
const provider = new nervos.providers.HttpProvider("https://node.cryptape.com", options)
nervos.setProvider(provider)