Skip to main content

Estimate Revoke dai

This route estimates how much it'll cost revoke token with eip 712 signature

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
native object OPTIONAL
value string OPTIONAL
currency string OPTIONAL

token symbol e.g USDT,ETH,DAI etc

token object OPTIONAL
value string OPTIONAL
currency string OPTIONAL

token symbol e.g USDT,ETH,DAI etc

gasLimit integer OPTIONAL

total gas estimate for transaction

fee string OPTIONAL

wei value in token being transferred

500

An estimation error occured

Schema OPTIONAL
status int32 OPTIONAL
message string OPTIONAL
data object OPTIONAL