Login Through Wallet
Login through Wallet
POST https://metaforo.io/api/wallet/login
Headers
Name
Type
Description
api_key*
string
The API KEY that assigned to you.
Request Body
Name
Type
Description
web3_public_key*
String
Public key acquired through purse.
wallet_type*
int
1: Solana; 2: Solana hardware; 3: AR; 4: AnyWeb; 5: ETH
sign
String
wallet_type 1 & 3 needs check sign.
signMsg
String
wallet_type 1 & 3 needs check sign.
anyweb_auth_code
String
To get AnyWeb's user info.
{
"status": true,
"code": 20000,
"description": "",
"server": "rest",
"data": {
"user": {
"id": 14999,
"email": null,
"photo_url": "http://test.com/photo",
"likes": 0,
"posts": 0,
"activate": 1,
"last_post_time": null,
"web3_public_keys": [
{
"type": 4,
"address": "cfx:aargcrcwsaztcgcne0gb56zk1f08t9mdjpt9v08de:b5"
}
],
"username": "meta.test2.wallet.b5",
"is_nft": 0
},
"api_token": "11|IbCIL3PSMGNLt5GrvEVkM8BgIET02GeM1d1XcOQy"
}
}Last updated