Skip to main content

Route for revoking a Dai Like token

This revokes a dai permit if there's a hanging approval

Path Parameters
chainId int64 REQUIRED

Chain Id of the network to send token e.g 1 for ethereum mainnet

Request Body REQUIRED
token string

token address being transferred

permit object

eip712 dailike typed data

holder string

The address of the token owner

spender string

The address of the token spender

nonce string

The owner's nonce, increases at each call to permit

expiry string

The timestamp at which the permit is no longer valid

allowed boolean

Boolean that sets approval amount, true for type uint256.max and false for 0

v number
r string
s string
Responses
200

Successful operation

Schema OPTIONAL
status int32 OPTIONAL

http status code

message string OPTIONAL

any message from the server

data object OPTIONAL
transactionHash string OPTIONAL

hash of the transaction on the blockchain

gasLimitEstimate integer OPTIONAL

total gas estimate for transaction

gasPriceEstimate object OPTIONAL
value string OPTIONAL
currency string OPTIONAL

token symbol e.g USDT,ETH,DAI etc

blockScan string OPTIONAL

blockscan url of the transaction

500

An estimation error occured

Schema OPTIONAL
status int32 OPTIONAL
message string OPTIONAL
data object OPTIONAL