Skip to content
On this page

Transfers


This function returns all the details about transfer for specified user based on tokens transferred, transfer kind, amount transferred.

It can be used for filtering user’s transfers and displaying them in the list form with following details such as total number of transfers filtered, time of creation, credit processor, transfer contracts addresses, number of required votes, proxy addresses, volume, status etc.

Request parameters

Required body parameters:

NameExample valueComment
createdAtGe1654822800Bottom border of transfer creation date time
createdAtLe1655946000Top border of transfer creation date time
ethTokenAddress0xc506f883f71151b0ecd48b1683fbd15cc4a1ad95Token address on ethereum network
ethTonChainId1Ethereum to everscale event chain id
limit10Maximum number of transactions to be retrieved
offset0Offset
orderingtonethvolumeexecascendingValue based on which the retrieved transaction data will be ordered
statuspendingTransaction status (pending, confirmed…)
tonEthChainId56Everscale to ethereum event chain id
tonTokenAddress0:a519f99bb5d6d51ef958ed24d337ad75a1c770885dcd42d51d6663f9fcdacfb2Token address on everscale network
transferKinds[List of transfer kinds (ethtoton, tontoeth…)
updatedAtGe1654822800Bottom border of transfer update date time
updatedAtLe1655946000Top border of transfer update date time
userAddress0:fc01c67598aa6e3c863630103971f791b856d86de54e960d7097dce4683e7575Address of the user
volumeExecGe0Bottom border of transferred volume amount
volumeExecLe100000000Top border of transferred volume amount

Parameters used for test:

NameValue
limit10
offset0
orderingcreatedatdescending
transferKinds[]

Response fields explanation

NameExample valueComment
totalCount9369Total number of transfers
transfers-List of transfers retrieved based on body parameters with following data:
createdAt1657215335000Date time of transaction’s creation
creditProcessorAddressnullAddress of the credit processor
ethTonChainIdnullEthereum to Everscale event chain id
ethTonContractAddressnullTransfer contract address (ethereum-everscale)
ethTonEthTokenAddressnullToken address on ethereum network (ethereum-everscale)
ethTonEthUserAddressnullUser address on ethereum network
ethTonProxyAddressnullProxy address for ethereum to everscale transfer
ethTonRequiredVotesnullNumber of required votes
ethTonStatusnull
ethTonTonTokenAddressnullToken address on everscale network (ethereum-everscale)
ethTonTransactionHashEthnullTransaction hash code on ethereum network
ethTonVolumeExecnullAmount of volume transferred from ethereum to everscale
tonEthChainId56Everscale to ethereum event chain id
tonEthContractAddress0:3dbfd8d3d8ae79cc1a67af212e03c3646fd0c6f866000efeb3ac95c63587fcf8Transfer contract address (everscale - ethereum)
tonEthEthTokenAddress0x55d398326f99059ff775485246999027b3197955Token address on Ethereum network (everscale - ethereum)
tonEthEthUserAddress0xa2a38f05baf66b20e89f87dd9a35ebcb840210baUser address on ethereum network (everscale - ethereum)
tonEthProxyAddress0:a3023d7812aff9cafa73365853bdc11eeb010f09cd657de6e802adf16cfcd282Proxy address for everscale to ethereum transfer
tonEthRequiredVotes18Number of required votes
tonEthStatusConfirmedStatus of everscale to ethereum transfer
tonEthTonTokenAddress0:a519f99bb5d6d51ef958ed24d337ad75a1c770885dcd42d51d6663f9fcdacfb2Token address on everscale network (everscale - ethereum)
tonEthVolumeExec1240Amount of volume transferred from everscale to ethereum
tonUserAddress0:fdbc0c8ac30050ac2d3166ce714e3ca3a4641fe251a33751c037d88bbd514d49User address on everscale network
transferKindTonToEthKind of transfer (deposit, withdraw…)
transferStatusConfirmedStatus of transfer (pending, confirmed…)
updatedAt1657215766000Date time of transfer update

Example

java
app.post('/transfers/search', (req, res) => {
    axios({
        method: 'post',
        url: `${apiUrl}/transfers/search`,
        data: {
            createdAtGe: req.body.createdAtGe,
            createdAtLe: req.body.createdAtLe,
            ethTokenAddress: req.body.ethTokenAddress,
            ethTonChainId: req.body.ethTonChainId,
            limit: req.body.limit,
            offset: req.body.offset,
            ordering: req.body.ordering,
            status: req.body.status,
            tonEthChainId: req.body.tonEthChainId,
            tonTokenAddress: req.body.tonTokenAddress,
            transferKinds: req.body.transferKinds,
            updatedAtGe: req.body.updatedAtGe,
            updatedAtLe: req.body.updatedAtLe,
            userAddress: req.body.userAddress,
            volumeExecGe: req.body.volumeExecGe,
            volumeExecLe: req.body.volumeExecLe
        }
      })
    .then(function (response) {
        res.send(response.data)
    })
    .catch(function(error){
        console.error(error)
        res.send('Error')
    })
})

This function returns all the details about transfer for a specified user based on tokens transferred, transfer kind, amount transferred, bounty amount.

It can be used for filtering user’s transfers and displaying them in the list form with following details such as total number of transfers filtered, time of creation, bounty amount, transfer contract address, number of required votes, user addresses, current balance, volume transferred, status etc.

Request parameters

Required body parameters:

NameExample valueComment
bountyGe0Bottom border of bounty amount
bountyLe1000Top border of bounty amount
chainId1Id of the event’s chain
contractAddress0:3b4a6596b97ec5ded77eee9893416120898f45a4cb7f81dd7930aba8270bbc71Transfer contract address
createdAtGe1651366800000Bottom border of transfer creation date time
createdAtLe1655859600000Top border of transfer creation date time
ethTokenAddress0x55d398326f99059ff775485246999027b3197955Token address on ethereum network
limit10Maximum number of transactions to retrieve
offset0Offset
orderingvolumeexecascendingValue based on which the retrieved transaction data will be ordered
statusOpen
tonTokenAddress0:a519f99bb5d6d51ef958ed24d337ad75a1c770885dcd42d51d6663f9fcdacfb2Token address on everscale network
userAddress0:1c346354f24e9346de20dbf3690435085194bbf18259f780510eea1ad1e6d624Address of the user
volumeExecGe0Bottom border of transfer volume
volumeExecLe1000Top border of transfer volume

Parameters used for test:

NameValue
limit10
offset0
orderingvolumeexecascending

Response fields explanation

NameExample valueComment
totalCount70Total number of transfers
transfersList of retrieved transactions with following data
bounty7000Bounty amount
chainId43114Id of the event’s chain
contractAddress0:1adcc1fa516ea7d2e5d843a2353e53176374ff474bfb6267ced8de12e0ba748eAddress of a transfer contract
currentAmount0Current amount
ethTokenAddress0x50b7545627a5162f82a992c33b87adc75187b218Token address on ethereum network
ethUserAddress0x02a312c4303037f12acfe3513e6b14a8d8daecf3User address on ethereum network
payloadId0x5da3db5ce2e56676abe61cd11babab0bb4d06c7c13dc2fe13085ef695d1f305bId of a payload
statusCloseTransfer status
timestamp1654087434000Date time of transfer
tonTokenAddress0:2ba32b75870d572e255809b7b423f30f36dd5dea075bd5f026863fceb81f2bcfToken address on everscale network
tonUserAddress0:76bb1dda9746d1366c57515e4d26ea8b3e9fa549444879a473cf96609e699ae3Address of a user on everscale network
userId0Id of the user
volumeExec0.00031000Volume transferred
volumeUsdtExec9.8003Volume transferred in USDTs

Example

java
app.post('/transfers/search_not_instant', (req, res) => {
    axios({
        method: 'post',
        url: `${apiUrl}/transfers/search_not_instant`,
        data: {
            bountyGe: req.body.bountyGe,
            bountyLe: req.body.bountyLe,
            chainId: req.body.chainId,
            contractAddress: req.body.contractAddress,
            createdAtGe: req.body.createdAtGe,
            createdAtLe: req.body.createdAtLe,
            ethTokenAddress: req.body.ethTokenAddress,
            limit: req.body.limit,
            offset: req.body.offset,
            ordering: req.body.ordering,
            status: req.body.status,
            tonTokenAddress: req.body.tonTokenAddress,
            userAddress: req.body.userAddress,
            volumeExecGe: req.body.volumeExecGe,
            volumeExecLe: req.body.volumeExecLe
        }
      })
    .then(function (response) {
        res.send(response.data)
    })
    .catch(function(error){
        console.error(error)
        res.send('Error')
    })
})

This function returns global transfer details such as volumes transferred from everscale network and to everscale network, 24h volume change, 7 days volume change.

It can be used for monitoring transfer data on the whole application level.

Request parameters

No required parameters

Response fields explanation

NameExample valueComment
fromEverscaleUsdt76111457.8632Volume transferred from everscale in USDTs
toEverscaleUsdt78524067.1362Volume transferred to everscale in USDTs
volume24hUsdt103033.0836Volume transferred in the last 24h in USDTs
volume24hUsdtChange-77.6500Change of volume transfer in the last 24 hours calculated in percentage
volume7dUsdt1756514.8873Volume transferred in the last 7 days in USDTs
volume7dUsdtChange-28.6500Change of weekly volume transfer calculated in percentage

Example

java
app.get('/transfers/main_page', (req, res) => {
    axios({
        method: 'get',
        url: `${apiUrl}/transfers/main_page`
      })
    .then(function (response) {
        res.send(response.data)
    })
    .catch(function(error){
        console.error(error)
        res.send('Error')
    })
})

This function returns a list of transferred volumes from ethereum to everscale and vice versa as well as the date time of measured data inside of a given timespan hourly or daily, depending on how the parameter is set.

It can be used to show graphical representation of transfers in the given timespan.

Request parameters

NameExample valueComment
from1651366800000Bottom border of the monitoring date time
timeframeH1Step for retrieving volume data in the given timespan (hourly, daily…)
to1655859600000Top border of the monitoring date time

Response fields explanation

NameExample valueComment
ethTonVolume10.7100Amount of volume transferred from ethereum to everscale
timestamp1654988400000Date time of the data rerieved
tonEthVolume6980.2140Amount of volume transferred from everscale to ethereum

Example

java
app.post('/transfers/graph/volume', (req, res) => {
    axios({
        method: 'post',
        url: `${apiUrl}/transfers/graph/volume`,
        data: {
            from: req.body.from,
            timeframe: req.body.timeframe,
            to: req.body.to
        }
      })
    .then(function (response) {
        res.send(response.data)
    })
    .catch(function(error){
        console.error(error)
        res.send('Error')
    })
})