钱包
Responses
200
OK
application/json
actorIdstringOptional
nullable, links to on-chain actor f0...
addressstringOptional
filecoin address (f1.../f3...)
idintegerOptional
keyPathstringOptional
keystore-relative name (typically the address)
keyStorestringOptional
local, yubikey, aws-kms, etc
namestringOptional
optional label
400
Bad Request
application/json
500
Internal Server Error
application/json
get/wallet
GET /api/wallet HTTP/1.1
Accept: */*
[
{
"actorId": "text",
"address": "text",
"id": 1,
"keyPath": "text",
"keyStore": "text",
"name": "text"
}
]Body
namestringOptional
optional human-readable name
privateKeystringOptional
lotus wallet export format
Responses
200
OK
application/json
actorIdstringOptional
nullable, links to on-chain actor f0...
addressstringOptional
filecoin address (f1.../f3...)
idintegerOptional
keyPathstringOptional
keystore-relative name (typically the address)
keyStorestringOptional
local, yubikey, aws-kms, etc
namestringOptional
optional label
400
Bad Request
application/json
500
Internal Server Error
application/json
post/wallet
POST /api/wallet HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"name": "text",
"privateKey": "text"
}{
"actorId": "text",
"address": "text",
"id": 1,
"keyPath": "text",
"keyStore": "text",
"name": "text"
}Last updated
Was this helpful?