Skip to main content

Estimate Transfer

This route estimates how much it'll cost to send a token that has already been approved to the gasless contract

Path Parameters
chainId int64 REQUIRED

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

Request Body REQUIRED

Estimate gas value in token before sending

transferDetails object

eip712 gasless transfer typed data

sender string

The address of the token owner/sender

recipient string

The address of the intended recipient

amount string

The allowed amount to transfer

nonce string

The sender's nonce, increases at each call to transfer tokens

token string

The sender's intended token to send

deadline string

Transaction deadline

transferSignature string

signature from for verification of transfer details

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