Skip to main content
GET
/
api
/
assets
/
{id}
/
restrictions
Get asset restrictions
curl --request GET \
  --url https://api.walletsuite.io/api/assets/{id}/restrictions \
  --header 'x-api-key: <api-key>'
{
  "ok": true,
  "code": "<string>",
  "message": "<string>",
  "data": {
    "chain": "<string>",
    "assetId": "<string>",
    "canBuy": true,
    "canSell": true,
    "canTransfer": true,
    "canSwap": true,
    "updatedAt": "2023-11-07T05:31:56Z",
    "reason": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

API key provided by WalletSuite team

Path Parameters

id
string
required

Query Parameters

chain
string
default:ethereum

Response

200 - */*

OK

ok
boolean
required
code
string
required
message
string
required
data
object