Skip to main content

Generate chain address

  • /v1/waas/mpc/wallet/generate_chain_addresses DEPRECATED
  • Supports "self-custody" and "WaaS" services.
Request Body
    requestId string required

    business unique value

    vaultId string required

    Vault id

    walletId string required

    wallet id

    count integer

    How many to create. Default value is 1, maximum value is 50.

    chainSymbol string required

    Chain name, abbreviation, chain identifier, unique

    encoding int

    Address type 1:LEGACY,2:SEGWIT_NATIVE,3:SEGWIT_NESTED,4:TAPROOT if left empty, default is 1:LEGACY)

Responses

successful operation


Schema
    code integer
    msg string
    data object[]
  • Array [
  • id string

    Address id

    address string

    Chain address

    hdPath string

    The path corresponding to the address

    encoding integer

    Chain address Address type 1:LEGACY,2:SEGWIT_NATIVE,3:SEGWIT_NESTED,4:TAPROOT

    pubkey string

    Public key

  • ]
  • success boolean
POST /v1/api/address/generate_chain_addresses

Authorization

name: BIZ-API-KEYtype: apiKeyin: headerdescription: Your API-KEY(public key).
name: BIZ-API-NONCEtype: apiKeyin: headerdescription: A nonce value (timestamp) that is included in the data to be signed.
name: BIZ-API-SIGNATUREtype: apiKeyin: headerdescription: signature of the request information(nonce,path,body) using your api private key.

Request

Base URL
https://api.sinohope.com
BIZ-API-KEY
BIZ-API-NONCE
BIZ-API-SIGNATURE
Body
{
"requestId": "413497079388421",
"vaultId": "450632968208222",
"walletId": "413497079388421",
"count": 1,
"chainSymbol": "ETH"
}
go / requests