We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://stcscan.io/main/address/0x00000000000000000000000000000001
https://stcscan.io/main/address/0x8355417c88d969f656935244641256ad
The text was updated successfully, but these errors were encountered:
需要RPC 更新接口 starcoinorg/starcoin#3447
Sorry, something went wrong.
在starcoin-explorer/src/util/sdk.ts 下可以新增如下 rpc 接口,进行分页查询 resource。
starcoin-explorer/src/util/sdk.ts
export async function listResourcesByPage(hash: string, startIndex: number, maxSize: number ) { try { const provider = providerMap[getNetwork()]; const result = await provider.send('state.list_resource', [hash, { decode: true, start_index: startIndex, max_size :maxSize }]); return result; } catch (error: any) { console.info(error); return false; } }
例如:页面默认查询25条,鼠标往下滑,进入下一页。
No branches or pull requests
https://stcscan.io/main/address/0x00000000000000000000000000000001
https://stcscan.io/main/address/0x8355417c88d969f656935244641256ad
The text was updated successfully, but these errors were encountered: