Get user's next Ethereum nonce

Rate limit: 3 every second

API Overview


HTTP method

GET

Path

/api/v2/ethNonce

Summary

Returns the next nonce of the Ethereum address associated with the user's account

API description


HTTP Header

Field Type Required Description Example
X-API-KEY string Y ApiKey "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ
6B6DQ6THZWbvrAGxzEdulXQvOKLrRW
ZLnN"

Request parameters

Field Type Required Description Example
owner string Y Ethereum address "0x000000000000000000
00000000000000000000
00"

Request example

HTTP
CURL
GET https://api.loopring.io/api/v2/ethNonce?owner=0x0000000000000000000000000000000000000000 HTTP/1.1
Host: api.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
X-API-KEY: sra1aavfa
curl -H "X-API-KEY:sra1aavfa" https://api.loopring.io/api/v2/ethNonce\?owner\=0x0000000000000000000000000000000000000000

Response fields

Field Type Required Description Example
resultInfo ResultInfo Y Information returned by the API /
data integer N The result of nonce 0

Response example

{
    "resultInfo" : {
        "code" : 0,
        "message" : "SUCCESS"
    },
    "data" : 0
}

Status code

Value Description
100000 Unknown error
104205 Error in internal request
104208 Unknown error in Ethereum node

results matching ""

    No results matching ""