Pular para o conteúdo

Get a wallet

Requisição

Get a wallet by ID

Segurança
TokenAuth
Caminho
vaultIdstringobrigatório

The vault ID

walletIdstringobrigatório

The wallet ID

curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/wallet/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Corpoapplication/json
idstringobrigatório

The wallet ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
vaultIdstringobrigatório

The vault ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
quorumIdstring

The quorum ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
createdBystringobrigatório

The user ID that created the wallet

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
createdAtstring, (date-time)obrigatório

The date and time the wallet was created

Exemplo:"2022-03-29T10:22:22.420Z"
updatedAtstring, (date-time)obrigatório

The date and time the wallet was update

Exemplo:"2022-03-29T10:22:22.420Z"
namestringobrigatório

The name of the wallet

Exemplo:"USD Issuing wallet"
descriptionstring

The description of the wallet

Exemplo:"Main USD issuing account used internally"
addressstring

The address of the wallet

Exemplo:"0x55502b9d5a68b0F8a48384352295BeD968aD8AA4"
publicKeystring

The public key of the wallet

Exemplo:"0x55502b9d5a68b0F8a48384352295BeD968aD8AA4"
keystorestring(v2Keystore)obrigatório

The type of the wallet

Enum:"HSM""MPC"
Exemplo:"HSM"
blockchainstring(v2Blockchain)

The blockchain of the wallet

Enum:"AVALANCHE""ETHEREUM""XRP_LEDGER""POLYGON""BNBCHAIN""BASE""HEDERA""ARBITRUM""ONE_MONEY""SOLANA"
Exemplo:"ETHEREUM"
settingsobject(v2WalletSettings)obrigatório

The settings of the wallet

statusstring(vaultv2WalletStatus)obrigatório

The wallet status

Enum:"CREATED""PROVISIONING""PROVISIONED_WALLET""PROVISIONING_POLICY""PROVISIONING_COMPLIANCE""PROVISIONED_COMPLIANCE""PROVISIONED""PROVISIONING_FAILED"
Exemplo:"PROVISIONED"
reasonsArray of strings

The reasons why the wallet may have failed to provision

Exemplo:
[ "MPC session timed out" ]
aliasstring

The alias of the wallet

Exemplo:"0x55502b9d5a68b0F8a48384352295BeD968aD8AA4"
externalIdstring

External ID of this wallet, unique to the organization

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
correlationIdstring

Correlation ID for the wallet

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
keyAlgorithmstring(v2KeyAlgorithm)obrigatório

The key algorithm of the wallet

Enum:"SECP256K1""ED25519"
Exemplo:"SEC256K1"
walletTypestring(v2WalletType)

The type of the wallet

Value:"WALLET_TYPE_BLOCKCHAIN"
Exemplo:"WALLET_TYPE_BLOCKCHAIN"
Resposta
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "quorumId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "name": "USD Issuing wallet", "description": "Main USD issuing account used internally", "address": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "publicKey": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "keystore": "HSM", "blockchain": "ETHEREUM", "settings": { "enabled": "true", "rawSigningEnabled": "true", "sweepingEnabled": "true", "defaultFreezeEnabled": "true" }, "status": "PROVISIONED", "reasons": [ "MPC session timed out" ], "alias": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4", "externalId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "correlationId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "keyAlgorithm": "SEC256K1", "walletType": "WALLET_TYPE_BLOCKCHAIN" }