Vulcan Forge
  1. Blockchain Accounts
Vulcan Forge
  • Introduction
  • Getting Started
  • Authentication & Authorization
  • Core Concepts
    • Terminology
    • Regulated Assets
    • Tenants
    • Mapping & Labelling
    • Solana Networks
    • Transaction Processing
    • Key Management
    • Read Layer
  • API Reference
    • Blockchain Accounts
      • Create Account
        POST
      • Fetch Account Details
        POST
      • Fetch Account Balance
        POST
      • Fetch Account Private Key
        POST
      • Fetch Accounts
        POST
      • Update Account
        PATCH
      • Inactivate Account
        PATCH
    • Financial Instruments
      • Create Financial Instrument
      • Fetch Financial Instrument Details
      • Fetch Financial Instruments
      • Update Financial Instrument
      • Token Extensions Calculator
    • Positions
      • State
        • Initialize Position
        • Update Position
        • Close Position
        • Freeze Position
        • Unfreeze Position
      • Movements
        • Mint
        • Burn
        • Transfer Financial Instrument
        • Transfer SOL
      • Trades
        • Trade
      • History
        • Fetch Positions
        • Fetch Position Details
        • Fetch Position Balance
    • Loans
      • Create Loan
      • Fetch Loan Details
      • Fetch Loans
      • Swap Collateral
      • Repay Loan
      • Close Loan
      • Refinance Loan
    • Blockchain Transactions
      • Processing
        • Fetch Transaction Status
        • Sign Transaction
        • Submit Transaction
      • Durable Nonces
        • Create Durable Nonce Accounts
        • Fetch Durable Nonce Account Details
        • Fetch Durable Nonce Accounts
      • Address Lookup Tables
        • Create Address Lookup Table
        • Fetch Address Lookup Table Details
        • Fetch Address Lookup Tables
        • Extend Address Lookup Table
        • Update Address Lookup Table
      • History
        • Fetch Transactions
        • Fetch Transaction Details
    • Market Data
      • Onchain Data Sources
        • Create Onchain Data Source
        • Update Oracle Data Source Definition
        • Refresh Oracle Data Source
        • Fetch Onchain Data Source Details
        • Fetch Oracle Data Sources
  • Schemas
    • Accounts
      • DKG
        • DKG Key Setup
      • Offchain References
      • Account Lookup
      • New Account
      • Debit Limit Config
      • Limit Duration
      • Tenancy Config
      • Account Debits Config
      • Account Balance
      • Offchain File
    • Transactions
      • Solana Transaction Config
      • Commitment Config
      • Transaction Lookup
    • Query
      • Query Components
        • Sort Model
        • Field Value Filter
        • Filter Model
      • Items Query
      • Bulk Query
    • Loans
      • Loan Duration
    • Reponses
      • Errors
        • Individual Error
        • Error Response
      • Accounts
        • Private Keys
          • Private Key Details
          • Database Private Key Details
          • Cloud Provider Resource Location
          • DKG Private Key Details
        • Account Response Detailed
        • Account Onchain Detailed
        • Account Offchain Detailed
        • Account Response Identifiers
        • Account Offchain Compact
        • Account Response Compact
        • Account Onchain Compact
      • Financial Instruments
        • Financial Instrument Detailed
        • Financial Instrument Compact
        • Financial Instrument Identifiers
      • Transactions
        • Solana Transaction Result
        • Solana Entity Result
      • Positions
        • Position Offchain Result
        • Position Balance Response
        • Position Response Detailed
        • Position Response Compact
        • Position Response Identifiers
      • Loans
        • Loan Response
      • Market Data
        • Onchain Data Source Response
    • Positions
      • Position Lookup
      • Transfer SOL Definition
      • Transfer Financial Instrument Definition
      • Burn Definition
      • Mint Definition
      • Position Debits Config
      • Position Balance
    • Loans
    • Market Data
      • Onchain Data Source Details
      • Switchboard details
  1. Blockchain Accounts

Fetch Accounts

Testing
Development
https://vf-solana-api.dev.alphaledger.com
Development
https://vf-solana-api.dev.alphaledger.com
POST
/api/v1/accounts/bulk/{detail-level}
Creates Solana Transaction:No
OperationId:fetchAccounts
Fetches a list of accounts based on the provided query. Please note that the output fields will be trimmed to a smaller set of fields if the detail-level path parameter is set to identifiers or compact. Available detail levels:
detailed
compact
identifiers

Filter & Sort Options#

Usage example can be found here.
Supported filter and data types can be found here. Allowed values in the fieldName for sortModel and filterModel:
fieldNamedataTypedescriptionfiltersort
managedBOOLEANManaged vs un-manged accounts (DESC)**
typeOFFCHAIN_REFRENCE_TYPEThe offchain reference type
codeTEXTThe offchain reference code
alIdTEXTThe offchain reference AL ID
accountNumberTEXTThe offchain reference account number
externalOrganizationIdTEXTThe offchain reference external organization id
offchainReferenceNameTEXTThe offchain reference name
statusTEXTIndicates if the account is ACTIVE or CLOSED
lamportsBalanceNUMBERCurrent offchain lamports balance
orgsIsGlobalFeePayerFor*TEXTOrganization external ids for which the account is a global fee payer for
orgsAllowedToSignWithPrivateKey*TEXTOrganization external ids for which their API Keys can use the private key of the account to sign transactions with it
lastTransactionAtTIMESTAMPOffchain timestamp of last transaction processed against this account
creationTransactionAtTIMESTAMPOffchain timestamp of creation transaction for this account
wasAlreadyOnchainBOOLEANIndicates if the account was already on chain at the time of the account was onboarded into Vulcan Forge
privateKeyLocationTEXTLocation of private key
canPayFeesBOOLEANIndicates if the account can pay Solana transaction and rent fees
sharedAccrossTenantsBOOLEANIndicates if the account is shared across tenants
commentsTEXTThe account's comments
solDebitApiKeys *TEXTThe API Key that has restricted access to debit operations on SOL balance changes
tokenDebitApiKeys *TEXTThe API Key that has restricted access to debit operations on token balance changes
tenantOrganizationIdTEXTThe external organization id associated with the blockchain account. This represents the tenant organization to which the API Key that created the account belongs to.
(ASC|DESC)** - columns that are part of the default sort if no itemQuery.sortModel is provided.
* - indicates columns that are nullable and can use the IS_NULL or IS_NOT_NULL type

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Query Params

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://vf-solana-api.dev.alphaledger.com/api/v1/accounts/bulk/compact?solanaClusterId=SOLANA_DEVNET' \
--header 'x-request-id: f9860f73-a466-41f2-a083-34eeb1cc3a3c' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "itemQuery": {
        "limit": 10,
        "skip": 0,
        "filter": [
            {
                "fieldName": "See the endpoint description for allowed values",
                "operator": "AND",
                "filterValues": [
                    {
                        "dataType": "TEXT",
                        "filterType": "EQUALS",
                        "valueString": "string",
                        "valueNumber": 0,
                        "valueBoolean": true,
                        "valuesString": [
                            "string"
                        ],
                        "valueFromString": "string",
                        "valueToString": "string",
                        "valueFromNumber": 0,
                        "valueToNumber": 0
                    }
                ]
            }
        ],
        "sort": [
            {
                "fieldName": "See the endpoint description for allowed values",
                "sortDirection": "ASC"
            }
        ]
    },
    "tenancyConfig": {
        "overrideOrganizationExternalId": "ALIM"
    }
}'
Response Response Example
200 - Example 1
{
    "count": 17,
    "items": [
        {
            "onchain": {
                "id": "6YaAdbMCV5GPRZ6AYbyEnGgggAHfEJjXTXYGrDVasQHK",
                "lastTransactionId": "5vnjT6E19V4uQwHMojaR73XFoPjt9Y2nFn74xdDJZTK1MYScNWHpf876JFnSVzSqLxzEMLyzH355WWoiFN5ceMa9",
                "lastTransactionAt": "2024-11-19T14:30:00.000Z",
                "creationTransactionId": "3mTmwiMhwK286USNGGxCormm3srWcR5qmbCUb96jbz79Td53r6Nk2krCPeJ4LUUunwER8icNfGFXD2SQ8RnFPiZL",
                "creationTransactionAt": "2024-11-19T14:30:00.000Z"
            },
            "offchain": {
                "id": "b3e30f57-b404-4bd5-9e31-cec3298fa0bf",
                "type": "WALLET",
                "code": "BCDA",
                "alId": "ALFNDPF000153786",
                "organizationExternalId": "ALT",
                "accountNumber": "ALT355566",
                "name": "Trading Account",
                "lamportsBalance": 4540000,
                "tokenBalance": 2500000000,
                "tokenDecimals": 8,
                "lastTransactionId": "63e1c252-a23c-42af-a7f2-f48a2893c940",
                "creationTransactionId": "f785791f-826b-4fe0-9547-6475518cdc7f"
            },
            "managed": true,
            "status": "ACTIVE",
            "privateKeyLocation": [
                "SECRETS"
            ],
            "isDerived": true,
            "comments": "Some comments attached to the account",
            "subscribeToNetworkEvents": true,
            "sharedAcrossTenants": true,
            "wasOnchainAlready": true,
            "canPayFees": true,
            "globalFeePayerForOrgs": [
                "string"
            ],
            "solDebitApiKeys": [
                "string"
            ],
            "tokenDebitApiKeys": [
                "string"
            ],
            "domain": "string",
            "tenantOrganizationId": "ALG"
        }
    ]
}
Modified at 2026-01-16 09:45:43
Previous
Fetch Account Private Key
Next
Update Account
Built with