For the complete documentation index, see llms.txt. This page is also available as Markdown.

钱包

List all imported wallets

get
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

get/wallet
GET /api/wallet HTTP/1.1
Accept: */*
[
  {
    "actorId": "text",
    "address": "text",
    "id": 1,
    "keyPath": "text",
    "keyStore": "text",
    "name": "text"
  }
]

Import a private key

post
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

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"
}

Remove a wallet

delete
Path parameters
addressstringRequired

Address

Responses
204

No Content

No content

delete/wallet/{address}
DELETE /api/wallet/{address} HTTP/1.1
Accept: */*

No content

Last updated

Was this helpful?