Nonce

Provide the nonce corresponding to the user's wallet address

get

The nonce is required for signing.This is to produce a signature result that is not the same, including the ever-changing nonce in the original data to be signed.The nonce is recorded in the contract, which increases the value of the nonce by 1 when the signature is used.

Path parameters
accountstringRequired

Address of wallet

Example: 0x5650CD3E6E8963B43D21FAE60EE7A03BCEFCE766
Responses
200Success
application/json
get
GET /v1/ledger/nonce/{account} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "code": 0,
  "data": {
    "account": "0x5650CD3E6E8963B43D21FAE60EE7A03BCEFCE766",
    "nonce": "45"
  },
  "error": {
    "message": "Failed to check the validity of parameters"
  }
}