Retrieve Token Gating

Returns whether the given address holds a specific ERC-20, ERC-721, or ERC-1155 token.

get/monad/token/gating

Request

  • Base URL
    https://api.blockvision.org/v2
  • URL
    https://api.blockvision.org/v2/monad/token/gating
  • Auth
    API key in header x-api-key

Query parameters

accountstring required

account address

contractAddressstring required

token contract address

Response

200

codeinteger
reasonstring
messagestring

Example response

{
  "message": "OK",
  "result": {
    "hasToken": true
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.