filecoin boost GraphQL API 查询

查询示例

查询失败交易

cpp 复制代码
curl -X POST \
-H "Content-Type: application/json" \
-d '{"query":"query { deals(limit: 10, query: \"failed to get size of imported\") { deals { ID CreatedAt Message } } }"}' \
http://localhost:8080/graphql/query | jq

查询 取消交易

cpp 复制代码
curl -X POST \
-H "Content-Type: application/json" \
-d '{"query":"mutation { dealCancel(id: \"ab12345c-5678-90de-12f3-45a6b78cd9ef\") }"}' \
http://localhost:8080/graphql/query | jq

查询 订单状态 Adding to Sector

cpp 复制代码
curl -X POST \
-H "Content-Type: application/json" \
-d '{"query":"query { deals(limit: 2000) { deals { ID CreatedAt Message } } }"}' \
http://localhost:8080/graphql/query | jq | grep "Adding to Sector" | wc -l

参考

  1. GraphQL API
相关推荐
canonical-entropy5 天前
NopGraphQL 的设计创新:从 API 协议到通用信息操作引擎
低代码·graphql·可逆计算·nop平台
canonical_entropy5 天前
NopGraphQL 的设计创新:从 API 协议到通用信息操作引擎
后端·低代码·graphql
xiecoding.cn10 天前
Boost下载安装教程(附安装包,图文并茂)
boost·boost下载·boost安装·boost最新版下载·boost安装教程·boost下载安装教程
heeheeai11 天前
决策树,随机森林,boost森林算法
算法·决策树·随机森林·kotlin·boost
刘立军23 天前
使用pyHugeGraph查询HugeGraph图数据
python·graphql
麦兜*1 个月前
MongoDB 与 GraphQL 结合:现代 API 开发新范式
java·数据库·spring boot·mongodb·spring·maven·graphql
自动驾驶小卡1 个月前
boost::circular_buffer的使用方法简介
c++·boost·circular_buffer
0wioiw01 个月前
Nodejs(④GraphQL)
后端·graphql
Sui_Network1 个月前
GraphQL RPC 与通用索引器公测介绍:为 Sui 带来更强大的数据层
javascript·人工智能·后端·rpc·去中心化·区块链·graphql
幂简集成1 个月前
GraphQL API 性能优化实战:在线编程作业平台指南
后端·性能优化·graphql