Skip to content
New issue

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

StcScan代币list建议增加NFT合约信息 #111

Open
Foorgoo opened this issue Nov 28, 2021 · 1 comment
Open

StcScan代币list建议增加NFT合约信息 #111

Foorgoo opened this issue Nov 28, 2021 · 1 comment

Comments

@Foorgoo
Copy link

Foorgoo commented Nov 28, 2021

  1. 增加NFT合约地址,便于查询不同系列NFT陈列室的合约信息
  2. 增加NFT持有和交易流通信息统计
@wk3368
Copy link
Contributor

wk3368 commented Dec 2, 2021

curl --location --request POST 'https://main-seed.starcoin.org'
--header 'Content-Type: application/json'
--data-raw '{
"id":101,
"jsonrpc":"2.0",
"method":"state.list_resource",
"params":["0x1", {"decode":true}]
}'

Object.keys(result.resources).find(k => k.startWith('0x00000000000000000000000000000001::NFT::NFTTypeInfoV2'))

这样可以得到所有的NFT陈列室的信息

  1. 需要api提供接口

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants