TypeScript Type Definitions
TypeScript Type Definitions
Create an Account
POST/accounts/create-account
string
required
A human-readable name for the account.
string
required
The account type. Common values:
business, personal, customer.Response
Get All Accounts
GET/accounts/get-accounts
Returns all accounts belonging to the authenticated user.
Response
Get User Accounts
POST/accounts/get-user-accounts
Returns accounts for a specific sub-user or B2B customer. Used when managing accounts on behalf of your customers.
string
required
The ID of the user or customer whose accounts you want to retrieve.
cURL
Response
Create Connections
POST/accounts/create-connections
Connect an account to one or more blockchain networks. This initializes address generation for the specified chains on that account.
string
required
The ID of the account to connect.
array
required
Array of chain identifiers to connect. See Supported Chains for valid values.
cURL
Response
Get Connections
GET/accounts/get-connections
Returns blockchain connections for an account.
string
Filter connections by account ID. If omitted, returns connections for all accounts.
cURL
Response
Account Hierarchy
Accounts belong to your platform. Within an account, you add Assets (wallets) for specific chains and tokens. For B2B scenarios, use Customers to create managed sub-accounts that belong to your end customers.
Sandbox Testing
Use the sandbox to test this endpoint without real funds:Sandbox URL:
https://crypto-sandbox.yativo.com/api/v1/
