월렛
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
get
GET /api/wallet HTTP/1.1
Host: localhost:9090
Accept: */*
[
{
"actorId": "text",
"actorName": "text",
"address": "text",
"balance": 1,
"balancePlus": 1,
"balanceUpdatedAt": "text",
"contactInfo": "text",
"id": 1,
"location": "text",
"privateKey": "text",
"walletType": "UserWallet"
}
]
Body
privateKeystringOptional
This is the exported private key from lotus wallet export
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
POST /api/wallet HTTP/1.1
Host: localhost:9090
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"privateKey": "text"
}
{
"actorId": "text",
"actorName": "text",
"address": "text",
"balance": 1,
"balancePlus": 1,
"balanceUpdatedAt": "text",
"contactInfo": "text",
"id": 1,
"location": "text",
"privateKey": "text",
"walletType": "UserWallet"
}
Last updated
Was this helpful?