Allowance

get

Gets the amount of shares that an owner has allowed a spender to use.

Authorizations
Path parameters
accountstringRequired
  • The account making the request
Query parameters
chainIdstringRequired
  • The blockchain network ID
addressstringRequired
  • The ERC4626 vault contract address
ownerstringRequired
  • The address of the owner
spenderstringRequired
  • The address of the spender
Header parameters
AuthorizationstringRequired
  • The authorization token
Responses
200
The API response
application/json
get
GET //erc4626/{account}/allowance HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

The API response

{
  "success": true,
  "message": "text",
  "data": null
}