Filecoin.AuthVerify
Filecoin.AuthVerify列出指定授权令牌的权限。
参数
- token:要查看权限的授权令牌
返回值
Filecoin.AuthVerify调用返回指定授权令牌的权限列表,类型为数组。
示例代码
请求:
curl -X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"Filecoin.AuthVerify","params":["Ynl0ZSBhcnJheQ=="],"id":7878}' \
http://127.0.0.1:1234/rpc/v0
返回值:
{
"id": 7878,
"jsonrpc": "2.0",
"result": []
}