跳至主要內容

Address

tokenview小于 1 分钟

Address

generateaddress

GET https://services.tokenview.io/vipapi/nodeservice/trx/wallet/generateaddress?apikey={apikey}

Generate a random private key and address. This API has been deprecated, please generate address offline.

Request

curl --location https://services.tokenview.io/vipapi/nodeservice/trx/wallet/generateaddress?apikey={apikey}

Response


createaddress

POST https://services.tokenview.io/vipapi/nodeservice/trx/wallet/createaddress?apikey={apikey}

Creates an address from the specified password string (not the private key).This interface has been deprecated, please generate address offline.

Request

curl --location --globoff 'https://services.tokenview.io/vipapi/nodeservice/trx/wallet/createaddress?apikey={apikey}' \
--header 'Content-Type: application/json' \
--data '{
  "value": "7465737470617373776f7264"
}
'

Response

{
    "base58checkAddress": "TWwv3YcHJ1NfMemQSmXCPY48RR1tsY3n9N",
    "value": "41e61c1205ee029fb4e41f294afd448cc5d578c8ef"
}

validateaddress

POST https://services.tokenview.io/vipapi/nodeservice/trx/wallet/validateaddress?apikey={apikey}

Validates address, returns either true or false.

Request

curl --location --globoff 'https://services.tokenview.io/vipapi/nodeservice/trx/wallet/validateaddress?apikey={apikey}' \
--header 'Content-Type: application/json' \
--data '{
  "address": "41e61c1205ee029fb4e41f294afd448cc5d578c8ef"
}'

Response

{
    "result": true,
    "message": "Hex string format"
}
上次编辑于: