GET /allowance

GET get the amount of tokens that Butter router is allowed to swap

Params

Name

Location

Type

Required

Description

hash

query

string

yes

the route hash returned by /route

from

query

string

yes

sender address

Responses

HTTP Status Code

Meaning

Description

Data schema

200

Success

Inline

Response Example

200 Response

{
  "errno": 0,
  "message": "string",
  "data": {
    "to": "string",
    "method": "string",
    "data": "string",
    "value": "string",
    "chainId": "string"
  }
}

Last updated