VFX CLI Core API Details
This document provides comprehensive documentation for all API endpoints in the VFX Core Kestrel API with Swagger integration. The API listens on port 7292 on mainnet and 17292 on testnet; see Authentication for the apitoken header, the API password and the locked-wallet rule. Routes are case-insensitive. Sections end with one-line entries for the remaining routes of each controller.
Table of Contents
Section titled “Table of Contents”- Main API (V1) -
/api/V1 - Main API (V2) -
/api/V2 - Bitcoin Integration API -
/btcapi/BTCV2 - Smart Contracts API -
/scapi/SCV1 - Tokens API V2 -
/tkapi/TKV2 - Transactions API -
/txapi/TXV1 - DecShop Trading API -
/dstapi/DSTV1 - Voting API -
/voapi/VOV1 - Beacon API -
/bcapi/BCV1 - Web Shop API -
/wsapi/WebShopV1 - Reserve Accounts API -
/rsapi/RSV1 - Adjudicator API -
/adjapi/ADJV1 - Validator Node API -
/valapi/Validator - Integrations API -
/iapi/IntegrationsV1 - vBTC V2 API (9.0 additions) -
/vbtcapi/VBTC - Privacy API: raw shielded VFX (9.0 additions) -
/privacyapi/PrivacyV1 - Explorer API -
/explorer - Browser Wallet API -
/wallet
1. Main API (V1)
Section titled “1. Main API (V1)”Base Routes: api/V1, api/V1/{somePassword?}
Controller: V1Controller
Core System Endpoints
Section titled “Core System Endpoints”Summary: Check Status of API
Returns: Array of strings indicating API status
Response: ["VFX-Wallet", "API"]
GET /{id}
Section titled “GET /{id}”Summary: Execute specific command by ID
Parameters:
id(string, path) - Command identifier
Supported Commands:"getgenesisblock"- Returns Genesis block in JSON format
Returns: The Genesis block as JSON. Any otheridis404 Not Foundfrom Core 9.0.2; earlier versions answered200with the text “Command not recognized”.
Wallet Management Endpoints
Section titled “Wallet Management Endpoints”GET /UnlockWallet/{password}
Section titled “GET /UnlockWallet/{password}”Summary: Unlock API using password
Parameters:
password(string, path) - Wallet password
Returns: JSON with success status and message
GET /LockWallet/{password}
Section titled “GET /LockWallet/{password}”Summary: Lock API using password
Parameters:
password(string, path) - Wallet password
Returns: JSON with success status and message
GET /GetCheckEncryptionStatus
Section titled “GET /GetCheckEncryptionStatus”Summary: Check wallet encryption status
Returns: JSON indicating encryption state
GET /CheckPasswordNeeded
Section titled “GET /CheckPasswordNeeded”Summary: Check if password needed for GUI operations
Returns: Boolean indicating password requirement
GET /GetNewAddress
Section titled “GET /GetNewAddress”Summary: Generate new wallet address
Returns: JSON containing new address details
GET /GetWalletInfo
Section titled “GET /GetWalletInfo”Summary: Get comprehensive wallet information
Returns: JSON with balance, address count, and wallet details
GET /GetAllAddresses
Section titled “GET /GetAllAddresses”Summary: Get all wallet addresses
Returns: Array of address objects with balances
GET /GetValidatorAddresses
Section titled “GET /GetValidatorAddresses”Summary: Get validator-eligible addresses
Returns: Array of addresses that can validate
GET /GetAddressInfo/{id}
Section titled “GET /GetAddressInfo/{id}”Summary: Get specific address information
Parameters:
id(string, path) - Wallet address
Returns: Address details including balance and validation status
GET /GetChainBalance/{vfxAddress}
Section titled “GET /GetChainBalance/{vfxAddress}”Summary: Get balance from blockchain state
Parameters:
vfxAddress(string, path) - VFX address
Returns: Current balance from chain state
GET /ImportPrivateKey/{id}/{scan?}
Section titled “GET /ImportPrivateKey/{id}/{scan?}”Summary: Import private key to wallet
Parameters:
id(string, path) - Private keyscan(bool?, path, optional) - Scan blockchain for transactions
Returns: Import result status
Validation Endpoints
Section titled “Validation Endpoints”GET /IsValidating
Section titled “GET /IsValidating”Summary: Check if currently validating
Returns: Boolean validation status
GET /TurnOnValidator/{id}
Section titled “GET /TurnOnValidator/{id}”Summary: Enable validator for address
Parameters:
id(string, path) - Validator address
Returns: Activation result
GET /TurnOffValidator/{id}
Section titled “GET /TurnOffValidator/{id}”Summary: Disable validator
Parameters:
id(string, path) - Validator address
Returns: Deactivation result
GET /StartValidating/{addr}/{uname}
Section titled “GET /StartValidating/{addr}/{uname}”Summary: Start validation process
Parameters:
addr(string, path) - Validator addressuname(string, path) - Username
Returns: Validation start result
Transaction Endpoints
Section titled “Transaction Endpoints”GET /SendTransaction/{faddr}/{taddr}/{amt}
Section titled “GET /SendTransaction/{faddr}/{taddr}/{amt}”Summary: Send transaction (deprecated method)
Parameters:
faddr(string, path) - From addresstaddr(string, path) - To addressamt(decimal, path) - Amount
Returns: Transaction result Note: Deprecated - use the Transactions API (txapi/TXV1)
Utility Endpoints
Section titled “Utility Endpoints”GET /ValidateAddress/{**address}
Section titled “GET /ValidateAddress/{**address}”Summary: Validate VFX address or ADNR
Parameters:
address(string, path, catch-all) - Address or ADNR to validate
Returns: Validation result with format information
GET /CreateSignature/{message}/{address}
Section titled “GET /CreateSignature/{message}/{address}”Summary: Create cryptographic signature
Parameters:
message(string, path) - Message to signaddress(string, path) - Signing address
Returns: Generated signature
GET /ValidateSignature/{message}/{address}/{**sigScript}
Section titled “GET /ValidateSignature/{message}/{address}/{**sigScript}”Summary: Validate cryptographic signature
Parameters:
message(string, path) - Original messageaddress(string, path) - Signing addresssigScript(string, path, catch-all) - Signature to validate
Returns: Validation result
Blockchain Query Endpoints
Section titled “Blockchain Query Endpoints”GET /GetMempool
Section titled “GET /GetMempool”Summary: Get current mempool transactions
Returns: Array of pending transactions
GET /GetBlockByHeight
Section titled “GET /GetBlockByHeight”Summary: Get block by height number
Parameters:
height(long, query) - Block height, for exampleGetBlockByHeight?height=100
Returns: Block information, or an empty body when the block is not found
GET /GetBlockByHash
Section titled “GET /GetBlockByHash”Summary: Get block by hash
Parameters:
hash(string, query) - Block hash, for exampleGetBlockByHash?hash=<hash>
Returns: Block information, or an empty body when the block is not found
Network Endpoints
Section titled “Network Endpoints”GET /AddPeer/{**ipAddr}
Section titled “GET /AddPeer/{**ipAddr}”Summary: Add and connect to peer
Parameters:
ipAddr(string, path, catch-all) - IP address and port
Returns: Connection result
GET /getabl
Section titled “GET /getabl”Summary: Get Anti-Black List
Returns: Current anti-blacklist entries
GET /checkaddress/{addr}
Section titled “GET /checkaddress/{addr}”Summary: Check if address is blacklisted
Parameters:
addr(string, path) - Address to check
Returns: Blacklist status (TrueorFalse)
Other V1 endpoints
Section titled “Other V1 endpoints”GET /processabl: reprocesses the anti-blacklist.GET /GetIsWalletEncrypted: whether the wallet is encrypted.GET /GetIsEncryptedPasswordStored: whether the encryption password has been entered this session.GET /GetEncryptedPassword/{**password}: enters the wallet encryption password so encrypted-wallet actions can run.GET /GetEncryptWallet/{password}: encrypts the wallet with a password. This cannot be undone.GET /GetEncryptLock: erases the encryption password from memory.GET /GetDecryptWallet/{**password}: decrypts the wallet so its functions work.GET /CheckStatus: simple status check (Online); answers without the API token.GET /Health: trimmed node health for scripts and orchestration.GET /GetHDWallet/{strength}: converts the wallet to an HD wallet with a 12 or 24 word phrase.GET /GetRestoreHDWallet/{mnemonic}: restores an HD wallet from its phrase. From Core 9.0.2 the seed comes from the phrase’s words only (any whitespace, any case), as in other BIP39 wallets. Earlier versions derived it from the text as typed, so a phrase with extra spaces restored a different wallet. When the phrase has extra spaces, 9.0.2 restores the real wallet and also imports the used addresses of that earlier wallet;?exactSpacing=truemakes the earlier wallet the HD wallet instead (and imports the real wallet’s used addresses). URL-encode the phrase.GET /GetLatestRelease/{runUpdate}/{**fileName}: downloads the latest CLI release and installs it ifrunUpdateis true.GET /GetLatestReleaseFiles: lists the files of the latest CLI release.GET /NetworkMetrics: block timing metrics; answers without the API token.GET /GetValidatorInfo/{id}: the validator’s unique name for an address.GET /GetPrivateKey/{address}: exports the private key of one local address (the operator’s backup path).GET /RescanForTx/{walletAddr}: rescans the chain for an address’s transactions.GET /SyncBalances: resyncs local account balances; answers without the API token.GET /SendBlock/{id}: returns the block at a height.GET /GetLastBlock: the last block stored by the node.GET /GetRollbackBlocks/{id}: deprecated; do not use.GET /GetAllTransactions: deprecated; use the Transactions API.GET /ChangeValidatorName/{uname}: changes the validator name (restart required).GET /ResetValidator: resets the validator setup.GET /CreateSignatureFromPrivateKey/{privKey}/{**message}: signs a message with a supplied private key.GET /GetMemBlockCluster: dumps the in-memory block cluster (can be very large).GET /GetMasternodes: the full validator (Fortis) pool.GET /GetMasternodesSent: the validator list this node sends.GET /GetBeaconPool: the beacon pool.GET /GetValidatorPoolInfo: validator pool information.POST /StartMother,GET /StopMother,GET /GetMother,POST /JoinMother,GET /GetMotherURL,GET /MothersKids,GET /Mother: the Mother dashboard, which monitors a group of validators.GET /GetPeerInfo: connected peers.GET /ListActiveVals: validators active in the past 30 days.GET /ListBannedPeers,GET /BanPeer/{**ipAddress},GET /UnbanPeer/{**ipAddress},GET /UnbanAllPeers/{unbanPerma?}: peer bans.GET /GetDebugInfo,GET /Debug: debug dumps of the node’s settings and state.GET /GetConnectionHistory: connection history.GET /GetClientInfo: client information.GET /GetCLIVersion: the CLI version, for example9.0.1.1757-beta; answers without the API token.GET /ReadRBXLog,GET /ClearRBXLog: read or clear the node log.GET /ReadValLog,GET /ClearValLog: read or clear the validator log.GET /SendExit: stops the node.GET /SetRestartAndExit: stops the node and flags it to restart.GET /SendExitComplete: reports whether the exit finished.
2. Main API (V2)
Section titled “2. Main API (V2)”Base Routes: api/V2, api/V2/{somePassword?}
Controller: V2Controller
System Status
Section titled “System Status”Summary: Check API V2 status
Returns: Array indicating V2 API status
Balance Management
Section titled “Balance Management”GET /GetBalances
Section titled “GET /GetBalances”Summary: Get VFX and Token balances for all accounts
Returns: Comprehensive balance information for all addresses
GET /GetStateBalance/{address}
Section titled “GET /GetStateBalance/{address}”Summary: Get balance from chain state for specific address
Parameters:
address(string, path) - VFX address
Returns: Current balance from blockchain state
ADNR (Address Name Resolution)
Section titled “ADNR (Address Name Resolution)”GET /ResolveAdnr/{**adnr}
Section titled “GET /ResolveAdnr/{**adnr}”Summary: Resolve ADNR to address
Parameters:
adnr(string, path, catch-all) - ADNR to resolve (supports .vfx, .rbx, .btc)
Returns: Resolved address information
GET /ResolveAddressAdnr/{address}/{asset}
Section titled “GET /ResolveAddressAdnr/{address}/{asset}”Summary: Get ADNR from address and asset type
Parameters:
address(string, path) - Address to lookupasset(string, path) - Asset type
Returns: Associated ADNR
Validator & Network Information
Section titled “Validator & Network Information”GET /GetWinningProofs
Section titled “GET /GetWinningProofs”Summary: Get validator winning proofs
Returns: Current winning proofs from validators
GET /ValidatorPool
Section titled “GET /ValidatorPool”Summary: Get network validator pool
Returns: List of active validators
GET /ConsensusHeaderQueue
Section titled “GET /ConsensusHeaderQueue”Summary: Get consensus header queue
Returns: Current consensus queue state
GET /Producers
Section titled “GET /Producers”Summary: Get producer dictionary
Returns: Block producer information
GET /FailedProducers
Section titled “GET /FailedProducers”Summary: Get failed block producers
Returns: Failed producer list
GET /BannedFailedProducers
Section titled “GET /BannedFailedProducers”Summary: Get banned failed producers
Returns: Banned producer information
GET /GetBackupProofs
Section titled “GET /GetBackupProofs”Summary: Get backup proofs
Returns: Backup validation proofs
GET /GetFinalizedProofs
Section titled “GET /GetFinalizedProofs”Summary: Get finalized proofs
Returns: Finalized validation proofs
GET /GetNextValBlock
Section titled “GET /GetNextValBlock”Summary: Get next validator block
Returns: Next block to be validated
GET /GetNetworkBlockQueue
Section titled “GET /GetNetworkBlockQueue”Summary: Get network block queue
Returns: Current network block queue
GET /GetValLists
Section titled “GET /GetValLists”Summary: Get validator lists
Returns: Validator list information
GET /GetCasterRounds
Section titled “GET /GetCasterRounds”Summary: Get caster round information
Returns: Block caster round data
Image Processing
Section titled “Image Processing”POST /GetImageUncompressedByte
Section titled “POST /GetImageUncompressedByte”Summary: Decompress base64 image to byte array
Request Body: Base64 image string
Returns: Decompressed byte array
POST /GetImageUncompressedBase
Section titled “POST /GetImageUncompressedBase”Summary: Decompress base64 image to string
Request Body: Base64 image string
Returns: Decompressed image string
3. Bitcoin Integration API
Section titled “3. Bitcoin Integration API”Base Routes: btcapi/BTCV2, btcapi/BTCV2/{somePassword?}
Controller: BTCV2Controller
API Status
Section titled “API Status”Summary: Check Bitcoin API status
Returns: ["VFX/BTC-Wallet", "BTC API Standard V2"]
Address Management
Section titled “Address Management”GET /GetDefaultAddressType
Section titled “GET /GetDefaultAddressType”Summary: Get default Bitcoin address type
Returns: Current address type configuration
GET /GetNewAddress
Section titled “GET /GetNewAddress”Summary: Create new Bitcoin address
Returns: New Bitcoin address details
GET /ImportPrivateKey/{privateKey}/{addressFormat?}
Section titled “GET /ImportPrivateKey/{privateKey}/{addressFormat?}”Summary: Import Bitcoin private key
Parameters:
privateKey(string, path) - Bitcoin private keyaddressFormat(string?, path, optional) - Address format preference
Returns: Import result
Account Management
Section titled “Account Management”GET /GetBitcoinAccountList/{omitKeys?}
Section titled “GET /GetBitcoinAccountList/{omitKeys?}”Summary: Get all Bitcoin accounts
Parameters:
omitKeys(bool?, path, optional) - Omit private keys from response
Returns: List of Bitcoin accounts
GET /GetBitcoinAccount/{address}/{omitKeys?}
Section titled “GET /GetBitcoinAccount/{address}/{omitKeys?}”Summary: Get specific Bitcoin account
Parameters:
address(string, path) - Bitcoin addressomitKeys(bool?, path, optional) - Omit private keys
Returns: Account details
GET /ResetAccount
Section titled “GET /ResetAccount”Summary: Reset Bitcoin accounts and UTXOs
Returns: Reset operation result
UTXO Management
Section titled “UTXO Management”GET /GetAddressUTXOList/{address}
Section titled “GET /GetAddressUTXOList/{address}”Summary: Get UTXOs for Bitcoin address
Parameters:
address(string, path) - Bitcoin address
Returns: List of unspent transaction outputs
GET /GetAddressTXList/{address}
Section titled “GET /GetAddressTXList/{address}”Summary: Get transaction list for Bitcoin address
Parameters:
address(string, path) - Bitcoin address
Returns: Transaction history
Bitcoin Transactions
Section titled “Bitcoin Transactions”GET /SendTransaction/{faddr}/{taddr}/{amt}/{feeRate}/{overrideInternalSend?}
Section titled “GET /SendTransaction/{faddr}/{taddr}/{amt}/{feeRate}/{overrideInternalSend?}”Summary: Send Bitcoin transaction
Parameters:
faddr(string, path) - From addresstaddr(string, path) - To addressamt(decimal, path) - Amount in BTCfeeRate(decimal, path) - Fee rate (sat/vB)overrideInternalSend(bool?, path, optional) - Override internal send logic
Returns: Transaction result
GET /CalculateFee/{faddr}/{taddr}/{amt}/{feeRate}
Section titled “GET /CalculateFee/{faddr}/{taddr}/{amt}/{feeRate}”Summary: Calculate Bitcoin transaction fee
Parameters:
faddr(string, path) - From addresstaddr(string, path) - To addressamt(decimal, path) - AmountfeeRate(decimal, path) - Fee rate
Returns: Calculated fee amount
ADNR Management
Section titled “ADNR Management”GET /CreateAdnr/{address}/{btcAddress}/{name}
Section titled “GET /CreateAdnr/{address}/{btcAddress}/{name}”Summary: Create Bitcoin ADNR
Parameters:
address(string, path) - VFX addressbtcAddress(string, path) - Bitcoin addressname(string, path) - ADNR name
Returns: ADNR creation result
From the BTC-name signer height (block 7,575,250 on mainnet, block 7,400 on testnet, from Core 9.0.1), the node signs <unix seconds>:<address>:<name>.btc with the key of btcAddress, which must be in this wallet with the wallet unlocked. The signature is valid for 30 minutes. Pass name without .btc.
GET /SignAdnrTransferAcceptance/{btcAddress}/{name}/{newOwner}
Section titled “GET /SignAdnrTransferAcceptance/{btcAddress}/{name}/{newOwner}”Summary: Sign, as the receiver, that a .btc name may be transferred to one of this wallet’s Bitcoin addresses for a VFX owner
Parameters:
btcAddress(string, path) - This wallet’s Bitcoin address that will receive the name; its key must be in this wallet and the wallet must be unlockedname(string, path) - The name, with or without.btcnewOwner(string, path) - The VFX address that will own the name
Returns:{"Success": true, "Message": "Signed.", "BTCToMessage": "...", "BTCToSignature": "..."}.BTCToMessageis<unix seconds>:<newOwner>:<name>.btc, andBTCToSignatureis the receiving Bitcoin key’s signature of it. Give both to the sender forTransferAdnr. The acceptance is valid for 24 hours from its timestamp.
GET /TransferAdnr/{toAddress}/{btcFromAddress}/{btcToAddress}?btcToMessage={message}&btcToSignature={signature}
Section titled “GET /TransferAdnr/{toAddress}/{btcFromAddress}/{btcToAddress}?btcToMessage={message}&btcToSignature={signature}”Summary: Transfer Bitcoin ADNR
Parameters:
toAddress(string, path) - Target VFX addressbtcFromAddress(string, path) - Source Bitcoin addressbtcToAddress(string, path) - Target Bitcoin addressbtcToMessage(string, query, optional) - The receiver’s acceptance message, fromSignAdnrTransferAcceptancebtcToSignature(string, query, optional) - The receiver’s acceptance signature overbtcToMessage
Returns: Transfer result
From the BTC-name signer height (BtcNameSignerOwnsAddressHeight: block 7,575,250 on mainnet, block 7,400 on testnet, from Core 9.0.1), a transfer must carry the receiving Bitcoin address’s signed acceptance of the name for the new owner. Before it, the two query parameters are ignored.
- Same wallet: when the key for
btcToAddressis in this wallet, leave both parameters out. The node signs the acceptance itself. - Cross-wallet: the receiver calls
SignAdnrTransferAcceptanceon their own node and sends the sender the message and signature. The sender passes both, URL-encoded, asbtcToMessageandbtcToSignature. The SwitchBlade wallet carries the pair as one copyable acceptance code,<message>|<signature>. - The transfer is refused if the acceptance names a different owner or name, is not signed by the key of
btcToAddress, or is more than 24 hours old.
GET /DeleteAdnr/{btcFromAddress}
Section titled “GET /DeleteAdnr/{btcFromAddress}”Summary: Delete Bitcoin ADNR
Parameters:
btcFromAddress(string, path) - Bitcoin address
Returns: Deletion result
vBTC routes are in the vBTC V2 API (vbtcapi/VBTC).
Broadcasting
Section titled “Broadcasting”GET /Broadcast/{txHash}
Section titled “GET /Broadcast/{txHash}”Summary: Broadcast Bitcoin transaction
Parameters:
txHash(string, path) - The signed raw transaction hex (despite the name, not a hash)
Returns: Broadcast result
GET /Rebroadcast/{txid}
Section titled “GET /Rebroadcast/{txid}”Summary: Rebroadcast Bitcoin transaction
Parameters:
txid(string, path) - Transaction ID
Returns: Rebroadcast result
Other Bitcoin endpoints
Section titled “Other Bitcoin endpoints”GET /GetBitcoinTXList/{includeTokens?}: the wallet’s Bitcoin transactions.GET /GetLastAccounySync: when the Bitcoin accounts last synced (the route name is spelled this way).GET /GetElectrumXState: the node’s Electrum server connection state.GET /ReplaceByFee/{txid}/{feeRate}/{allowHighFee?}: replaces an unconfirmed Bitcoin transaction at a higher fee rate (sat/vB).GET /SyncStatus: whether the Bitcoin accounts are syncing.
4. Smart Contracts API
Section titled “4. Smart Contracts API”Base Routes: scapi/SCV1, scapi/SCV1/{somePassword?}
Controller: SCV1Controller
API Status
Section titled “API Status”Summary: Smart Contract API status check
Returns: API status information
GET /{id}
Section titled “GET /{id}”Summary: Get specific smart contract commands
Parameters:
id(string, path) - Command identifier
Returns: No command is defined, so everyidis404 Not Foundfrom Core 9.0.2; earlier versions answered200with the text “Command not recognized”.
Testing Endpoints
Section titled “Testing Endpoints”POST /SCPassTest
Section titled “POST /SCPassTest”Summary: Test JSON payload formatting for smart contracts
Request Body: Test JSON payload
Returns: Formatting test result
POST /SCPassDesTest
Section titled “POST /SCPassDesTest”Summary: Test JSON deserialization for smart contracts
Request Body: JSON to test deserialization
Returns: Deserialization test result
Smart Contract Queries
Section titled “Smart Contract Queries”GET /GetCurrentSCOwner/{scUID}
Section titled “GET /GetCurrentSCOwner/{scUID}”Summary: Get current smart contract owner (deprecated)
Parameters:
scUID(string, path) - Smart contract unique identifier
Returns: Current owner address
GET /GetAllSmartContracts/{pageNumber}
Section titled “GET /GetAllSmartContracts/{pageNumber}”Summary: Get paginated list of the smart contracts in this wallet
Parameters:
pageNumber(int, path) - Page number for pagination
Returns: Paginated smart contract list
GET /GetAllSmartContracts/{pageNumber}/{**search}
Section titled “GET /GetAllSmartContracts/{pageNumber}/{**search}”Summary: Get smart contracts with search filter
Parameters:
pageNumber(int, path) - Page numbersearch(string, path, catch-all) - Search terms
Returns: Filtered smart contract list
Note: From Core 9.0.2 this two-segment form searches, unless the search text istrueorfalse(that is read asexcludeToken). Earlier versions read any search text asexcludeTokenand answered400.GetAllSmartContracts/{pageNumber}/false/false/{search}searches on every version.
GET /GetAllSmartContracts/{pageNumber}/{excludeToken?}
Section titled “GET /GetAllSmartContracts/{pageNumber}/{excludeToken?}”Summary: Get smart contracts excluding tokens
Parameters:
pageNumber(int, path) - Page numberexcludeToken(bool?, path, optional) - Exclude token contracts
Returns: Filtered smart contract list
GET /GetAllSmartContracts/{pageNumber}/{excludeToken?}/{tokensOnly?}
Section titled “GET /GetAllSmartContracts/{pageNumber}/{excludeToken?}/{tokensOnly?}”Summary: Get smart contracts with token filtering
Parameters:
pageNumber(int, path) - Page numberexcludeToken(bool?, path, optional) - Exclude tokenstokensOnly(bool?, path, optional) - Only show tokens
Returns: Filtered smart contract list
GET /GetAllSmartContracts/{pageNumber}/{excludeToken?}/{tokensOnly?}/{**search}
Section titled “GET /GetAllSmartContracts/{pageNumber}/{excludeToken?}/{tokensOnly?}/{**search}”Summary: Get smart contracts with comprehensive filtering
Parameters:
pageNumber(int, path) - Page numberexcludeToken(bool?, path, optional) - Exclude tokenstokensOnly(bool?, path, optional) - Only tokenssearch(string, path, catch-all) - Search terms
Returns: Comprehensively filtered list
GET /GetMintedSmartContracts/{pageNumber}
Section titled “GET /GetMintedSmartContracts/{pageNumber}”Summary: Get paginated minted smart contracts
Parameters:
pageNumber(int, path) - Page number
Returns: Minted smart contracts
GET /GetMintedSmartContracts/{pageNumber}/{**search}
Section titled “GET /GetMintedSmartContracts/{pageNumber}/{**search}”Summary: Get minted smart contracts with search
Parameters:
pageNumber(int, path) - Page numbersearch(string, path, catch-all) - Search terms
Returns: Filtered minted contracts
GET /GetSingleSmartContract/{id}
Section titled “GET /GetSingleSmartContract/{id}”Summary: Get specific smart contract details
Parameters:
id(string, path) - Smart contract identifier
Returns: Complete smart contract information
NFT Operations
Section titled “NFT Operations”GET /TransferNFT/{id}/{toAddress}
Section titled “GET /TransferNFT/{id}/{toAddress}”Summary: Transfer NFT to another address
Parameters:
id(string, path) - NFT identifiertoAddress(string, path) - Destination address
Returns: Transfer result
GET /TransferNFT/{id}/{toAddress}/{**backupURL}
Section titled “GET /TransferNFT/{id}/{toAddress}/{**backupURL}”Summary: Transfer NFT with backup URL
Parameters:
id(string, path) - NFT identifiertoAddress(string, path) - Destination addressbackupURL(string, path, catch-all) - Backup storage URL
Returns: Transfer result
GET /TransferSale/{scUID}/{toAddress}/{saleAmount}
Section titled “GET /TransferSale/{scUID}/{toAddress}/{saleAmount}”Summary: Transfer NFT with sale amount
Parameters:
scUID(string, path) - Smart contract UIDtoAddress(string, path) - Buyer addresssaleAmount(decimal, path) - Sale price
Returns: Sale transfer result
GET /TransferSale/{scUID}/{toAddress}/{saleAmount}/{**backupURL}
Section titled “GET /TransferSale/{scUID}/{toAddress}/{saleAmount}/{**backupURL}”Summary: Transfer NFT sale with backup URL
Parameters:
scUID(string, path) - Smart contract UIDtoAddress(string, path) - Buyer addresssaleAmount(decimal, path) - Sale pricebackupURL(string, path, catch-all) - Backup URL
Returns: Sale transfer result
Other smart contract endpoints
Section titled “Other smart contract endpoints”POST /CreateSmartContract: compiles a smart contract (SEN) for minting. See Compiling and minting.GET /MintSmartContract/{id}: mints a contract made withCreateSmartContract.GET /Burn/{id}: burns an NFT.GET /Evolve/{id}/{toAddress},GET /Devolve/{id}/{toAddress},GET /EvolveSpecific/{id}/{toAddress}/{evolveState}: evolve, devolve or set the evolve state of an NFT with the Evolving feature.GET /CompleteTransferSale/{keySign}/{**scUID}: completes an NFT purchase.GET /CancelSale/{scUID}: cancels a sale.GET /ProveOwnership/{scUID},GET /ProveOwnership/{scUID}/{password?}: creates an ownership script (reserve accounts take the password).GET /VerifyOwnership/{**ownershipScript}: verifies an ownership script.GET /GetSmartContractsByAddress/{address}: the contract UIDs an address owns.GET /GetSmartContractsState/{**scUID}: a contract’s on-chain state.GET /GetSmartContractData/{id}: the contract data rebuilt from on-chain information.GET /GetLastKnownLocators/{scUID}: the beacon locators for a contract’s assets.GET /AssociateNFTAsset/{scUID}/{**assetPath}: re-associates a lost asset file with an NFT (the MD5 must match).GET /AddNFTDataFromNetwork/{scUID}: adds an NFT you own from the network to this wallet.GET /ChangeNFTPublicState/{id}: makes an NFT public for a Decentralized Shop.GET /CallMediaFromBeacon/{scUID}: fetches an NFT’s media from its beacon.GET /CreateThumbnails/{scUID}: creates thumbnails for known image types.GET /GetNFTAssetLocation/{scUID}/{**fileName}: the local path of an NFT asset.
5. Tokens API V2
Section titled “5. Tokens API V2”Base Routes: tkapi/TKV2, tkapi/TKV2/{somePassword?}
Controller: TKV2Controller
API Status
Section titled “API Status”Summary: Check Token API status
Returns: Token API status information
Token Information
Section titled “Token Information”GET /GetTokens/{scUID}/{getAll}
Section titled “GET /GetTokens/{scUID}/{getAll}”Summary: Get token information for smart contract
Parameters:
scUID(string, path) - Smart contract unique identifiergetAll(bool, path) - Get all token details
Returns: Token contract information
GET /GetTokensUpdate
Section titled “GET /GetTokensUpdate”Summary: Update token list in memory
Returns: Update operation result
Token Operations
Section titled “Token Operations”GET /TransferToken/{scUID}/{fromAddress}/{toAddress}/{amount}
Section titled “GET /TransferToken/{scUID}/{fromAddress}/{toAddress}/{amount}”Summary: Transfer tokens between addresses
Parameters:
scUID(string, path) - Smart contract UIDfromAddress(string, path) - Source addresstoAddress(string, path) - Destination addressamount(decimal, path) - Token amount
Returns: Transfer transaction result
GET /BurnToken/{scUID}/{fromAddress}/{amount}
Section titled “GET /BurnToken/{scUID}/{fromAddress}/{amount}”Summary: Burn tokens from circulation
Parameters:
scUID(string, path) - Smart contract UIDfromAddress(string, path) - Address to burn fromamount(decimal, path) - Amount to burn
Returns: Burn transaction result
GET /TokenMint/{scUID}/{fromAddress}/{amount}
Section titled “GET /TokenMint/{scUID}/{fromAddress}/{amount}”Summary: Mint new tokens
Parameters:
scUID(string, path) - Smart contract UIDfromAddress(string, path) - Minting address (must be owner)amount(decimal, path) - Amount to mint
Returns: Mint transaction result
Contract Administration
Section titled “Contract Administration”GET /PauseTokenContract/{scUID}/{fromAddress}
Section titled “GET /PauseTokenContract/{scUID}/{fromAddress}”Summary: Pause token contract operations
Parameters:
scUID(string, path) - Smart contract UIDfromAddress(string, path) - Owner address
Returns: Pause operation result
GET /BanAddress/{scUID}/{fromAddress}/{banAddress}
Section titled “GET /BanAddress/{scUID}/{fromAddress}/{banAddress}”Summary: Ban address from token operations
Parameters:
scUID(string, path) - Smart contract UIDfromAddress(string, path) - Owner addressbanAddress(string, path) - Address to ban
Returns: Ban operation result
GET /ChangeTokenContractOwnership/{scUID}/{fromAddress}/{toAddress}
Section titled “GET /ChangeTokenContractOwnership/{scUID}/{fromAddress}/{toAddress}”Summary: Transfer token contract ownership
Parameters:
scUID(string, path) - Smart contract UIDfromAddress(string, path) - Current ownertoAddress(string, path) - New owner
Returns: Ownership transfer result
Other token endpoints
Section titled “Other token endpoints”See Fungible Tokens for parameters.
POST /CreateTokenTopic: creates a token holders’ vote topic.GET /CastTokenTopicVote/{scUID}/{fromAddress}/{topicUID}/{voteType}: votes on a token topic (1yes,0no).GET /GetVoteBySmartContractUID/{scUID},GET /GetVoteByTopic/{topicUID},GET /GetVotesByAddress/{fromAddress},GET /GetTokenOwnerVoteList/{tUID}: token vote reads.
6. Transactions API
Section titled “6. Transactions API”Base Routes: txapi/TXV1, txapi/TXV1/{somePassword?}
Controller: TXV1Controller
Utility Functions
Section titled “Utility Functions”GET /GetTimestamp
Section titled “GET /GetTimestamp”Summary: Get current Unix timestamp
Returns: Current timestamp value
Local Transaction Queries
Section titled “Local Transaction Queries”GET /GetSuccessfulLocalTX
Section titled “GET /GetSuccessfulLocalTX”Summary: Get successful local transactions
Returns: List of completed local transactions
GET /GetReserveLocalTX
Section titled “GET /GetReserveLocalTX”Summary: Get reserve account transactions
Returns: Reserve account transaction history
GET /GetMinedLocalTX
Section titled “GET /GetMinedLocalTX”Summary: Get mined reward transactions
Returns: Mining reward transaction list
Other transaction endpoints
Section titled “Other transaction endpoints”The raw transaction flow (GetAddressNonce, GetRawTxFee, GetTxHash, VerifyRawTransaction, SendRawTransaction) is walked through on Transaction creation.
GET /GetAllLocalTX,GET /GetPendingLocalTX,GET /GetFailedLocalTX: the wallet’s transactions, all, pending or failed.GET /GetLocalTxByHash/{hash},GET /GetLocalTxByBlock/{height}: one local transaction by hash, or those in a block.GET /GetLocalTxBeforeBlock/{height},GET /GetLocalTxAfterBlock/{height},GET /GetLocalTxBeforeTimestamp/{timestamp},GET /GetLocalTxAfterTimestamp/{timestamp}: local transactions before or after a height or time.GET /GetLocalTxByAddress/{address},GET /GetLocalTxByAddressLimit/{address}/{limit?},GET /GetLocalTxPaginated/{page}/{amountPerPage}/{address?}: local transactions for an address, limited or paged.GET /GetLocalADNRTX: the wallet’s ADNR transactions.GET /GetAddressNonce/{address}: the next nonce for an address.GET /GetNetworkTXByHash/{txHash}/{startAtBlock?}/{startAtBeginning?}: searches the whole chain for a transaction (parallel, heavy);GetNetworkTXByHashSafeis the slower single-threaded version.POST /GetNFTMintData(deprecated),POST /GetSCMintDeployData: build mint transaction data for an external signer.GET /CreateBeaconUploadRequest/{scUID}/{toAddress}/{**signature}: builds a beacon upload request.GET /GetNFTTransferData/{scUID}/{toAddress}/{**locator},GET /GetNFTEvolveData/{scUID}/{toAddress}/{evoState},GET /GetNFTBurnData/{scUID}/{fromAddress}: build NFT transfer, evolve or burn data for an external signer.POST /GetRawTxFee: the fee for a raw transaction.POST /GetTxHash: the hash of a raw transaction.GET /ValidateSignature/{message}/{address}/{**sigScript}: checks a signature.POST /VerifyRawTransaction: verifies a signed raw transaction without broadcasting it.POST /SendRawTransaction: verifies and broadcasts a signed raw transaction.GET /TestMempool,POST /TestRawTransaction: test helpers (mempool dump; echo of a posted transaction).GET /CreateAdnr/{address}/{name},GET /TransferAdnr/{fromAddress}/{toAddress},GET /DeleteAdnr/{address}:.vfxname create, transfer and delete; each sends 5 VFX. See VFX Domain Services.GET /GetFortisBroadcastTx: the validator pool broadcast list.GET /ReplaceTransactionByFee/{txHash}/{newFee}: replaces a pending transaction with a higher fee.GET /SendTransaction/{faddr}/{taddr}/{amt}: sends VFX from an account held by this wallet.
7. DecShop Trading API
Section titled “7. DecShop Trading API”Base Routes: dstapi/DSTV1, dstapi/DSTV1/{somePassword?}
Controller: DSTV1Controller
API Status
Section titled “API Status”Summary: Check DecShop API status
Returns: API status information
Collection Management
Section titled “Collection Management”POST /SaveCollection
Section titled “POST /SaveCollection”Summary: Save or update NFT collection
Request Body: Collection data object
Returns: Save operation result
GET /GetCollection/{collectionId}
Section titled “GET /GetCollection/{collectionId}”Summary: Get collection information
Parameters:
collectionId(string, path) - Collection identifier
Returns: Collection details
GET /GetAllCollections
Section titled “GET /GetAllCollections”Summary: Get all collections
Returns: List of all NFT collections
GET /DeleteCollection/{collectionId}
Section titled “GET /DeleteCollection/{collectionId}”Summary: Delete collection
Parameters:
collectionId(string, path) - Collection to delete
Returns: Deletion result
Listing Management
Section titled “Listing Management”POST /SaveListing
Section titled “POST /SaveListing”Summary: Create or update NFT listing
Request Body: Listing data object
Returns: Listing save result
GET /GetCollectionListings/{collectionId}
Section titled “GET /GetCollectionListings/{collectionId}”Summary: Get listings for collection
Parameters:
collectionId(string, path) - Collection identifier
Returns: Collection’s active listings
GET /GetListing/{listingId}
Section titled “GET /GetListing/{listingId}”Summary: Get specific listing details
Parameters:
listingId(string, path) - Listing identifier
Returns: Complete listing information
DecShop Connectivity
Section titled “DecShop Connectivity”GET /ConnectToDecShop/{address}/{**url}
Section titled “GET /ConnectToDecShop/{address}/{**url}”Summary: Connect to DecShop instance
Parameters:
address(string, path) - Shop owner addressurl(string, path, catch-all) - DecShop URL
Returns: Connection result
GET /GetShopListings/{page}
Section titled “GET /GetShopListings/{page}”Summary: Get shop listings with pagination
Parameters:
page(int, path) - Page number
Returns: Paginated shop listings
GET /PingShop/{pingId}
Section titled “GET /PingShop/{pingId}”Summary: Check shop connection status
Parameters:
pingId(string, path) - Ping identifier
Returns: Connection status
Trading Operations
Section titled “Trading Operations”POST /SendBid
Section titled “POST /SendBid”Summary: Send bid on listing
Request Body: Bid details object
Returns: Bid submission result
POST /SendBuyNowBid
Section titled “POST /SendBuyNowBid”Summary: Send buy now bid
Request Body: Buy now bid details
Returns: Purchase result
POST /SendChatMessage
Section titled “POST /SendChatMessage”Summary: Send chat message to listing
Request Body: Chat message object
Returns: Message send result
GET /GetBids/{sendReceive}
Section titled “GET /GetBids/{sendReceive}”Summary: Get bid information
Parameters:
sendReceive(enum, path) - Filter:Sent(0) orReceived(1)
Returns: Bid list based on filter
Purchase Completion
Section titled “Purchase Completion”GET /CompleteNFTPurchase/{keySign}/{**scUID}
Section titled “GET /CompleteNFTPurchase/{keySign}/{**scUID}”Summary: Complete NFT purchase transaction
Parameters:
keySign(string, path) - Transaction signaturescUID(string, path, catch-all) - Smart contract UID
Returns: Purchase completion result
Other DecShop endpoints
Section titled “Other DecShop endpoints”GET /GetDefaultCollection,GET /GetDefaultCollectionChange/{collectionId}: read or change the default collection.GET /GetNFTAssets/{scUID}: caches an NFT’s assets for the shop.GET /CancelListing/{listingId}: cancels a listing.GET /DeleteListing/{listingId}: deletes a listing and its records.GET /GetAuctionByListing/{listingId},GET /GetResetAuction/{listingId}: an auction’s state, or reset its ended state.GET /GetDecShop: this node’s shop.POST /SaveDecShop: saves this node’s shop.GET /GetSetShopStatus: toggles the shop online or offline.GET /GetPublishDecShop,GET /GetUpdateDecShop,GET /GetDeleteDecShop: publish, update or delete the shop on the network (each sends a transaction).GET /GetDeleteLocalDecShop: deletes the local shop record.GET /GetImportDecShopFromNetwork/{address}: imports this address’s shop from the network.GET /GetDecShopByURL/{**url},GET /GetNetworkDecShopInfo/{**url}: a shop’s network record by itsvfx://(or legacyrbx://) URL.GET /GetDecShopStateTreiList: all shops on the network.GET /GetConnections: the shop this node is connected to.GET /GetShopInfo,GET /GetShopCollections,GET /GetShopAuctions/{page},GET /GetShopListingsByCollection/{collectionId}/{page},GET /GetShopSpecificListing/{scUID},GET /GetShopSpecificAuction/{listingId}: request data from the connected shop.GET /CheckPingShop/{pingId},GET /ClearPingRequest: check or clear ping requests.GET /ResendBid/{bidId}: resends a bid.GET /RetrySale/{listingId}: retries a sale.GET /GetListingBids/{listingId}/{sendReceive},GET /GetBidsByStatus/{bidStatus}/{sendReceive},GET /GetSingleBids/{bidId},GET /GetShopListingBids/{listingId}: bid reads (the last one asks the shop).POST /SendChatMessageThirdParty,GET /ResendChatMessage/{messageId}/{**shopUrl}: send or resend a buyer chat message.GET /GetDetailedChatMessages/{**shopUrl},GET /GetSimpleChatMessages/{**shopUrl},GET /GetSpecificChatMessages/{messageId},GET /GetMostRecentChatMessages/{key},GET /DeleteChatMessages/{**key}: buyer-side chat reads and delete.POST /SendShopChatMessage,GET /GetSummaryChatMessages,GET /GetSimpleShopChatMessages,GET /GetDetailedShopChatMessages,GET /GetDetailedSpecificShopChatMessages/{vfxAddress},GET /GetSimpleSpecificShopChatMessages/{vfxAddress}: shop-side chat.GET /GetDecShopData: the shop data held in memory.GET /Debug,GET /DebugData: debug dumps.
8. Voting API
Section titled “8. Voting API”Base Routes: voapi/VOV1, voapi/VOV1/{somePassword?}
Controller: VOV1Controller
Topic Queries
Section titled “Topic Queries”GET /GetAllTopics
Section titled “GET /GetAllTopics”Summary: Get all voting topics
Returns: Complete list of vote topics
GET /GetActiveTopics
Section titled “GET /GetActiveTopics”Summary: Get currently active voting topics
Returns: Active voting topics
GET /GetInactiveTopics
Section titled “GET /GetInactiveTopics”Summary: Get inactive/closed voting topics
Returns: Closed voting topics
GET /GetTopicDetails/{topicUID}
Section titled “GET /GetTopicDetails/{topicUID}”Summary: Get detailed topic information
Parameters:
topicUID(string, path) - Topic unique identifier
Returns: Complete topic details
GET /GetMyTopics
Section titled “GET /GetMyTopics”Summary: Get topics you created
Returns: Topics created by current user
GET /GetMyVotes
Section titled “GET /GetMyVotes”Summary: Get votes you have cast
Returns: Your voting history
GET /GetTopicVotes/{topicUID}
Section titled “GET /GetTopicVotes/{topicUID}”Summary: Get all votes for specific topic
Parameters:
topicUID(string, path) - Topic identifier
Returns: Topic vote results
GET /GetSearchTopics/{**search}
Section titled “GET /GetSearchTopics/{**search}”Summary: Search topics by keywords
Parameters:
search(string, path, catch-all) - Search terms
Returns: Matching topics
Voting Operations
Section titled “Voting Operations”GET /CastTopicVote/{topicUID}/{voteType}
Section titled “GET /CastTopicVote/{topicUID}/{voteType}”Summary: Cast vote on topic
Parameters:
topicUID(string, path) - Topic identifiervoteType(enum, path) -1(Yes) or0(No)
Returns: Vote casting result
POST /PostNewTopic
Section titled “POST /PostNewTopic”Summary: Create new voting topic
Request Body: Topic creation data
Returns: Topic creation result
Other voting endpoints
Section titled “Other voting endpoints”GET /GetAuditTopic/{topicUID}: audits a topic’s votes (slow).
9. Beacon API
Section titled “9. Beacon API”Base Routes: bcapi/BCV1, bcapi/BCV1/{somePassword?}
Controller: BCV1Controller
Beacon Management
Section titled “Beacon Management”GET /CreateBeacon/{name}/{isPrivate}/{autoDelete}/{fileCachePeriod}/{port}
Section titled “GET /CreateBeacon/{name}/{isPrivate}/{autoDelete}/{fileCachePeriod}/{port}”Summary: Create new beacon for asset relay
Parameters:
name(string, path) - Beacon nameisPrivate(bool, path) - Private beacon flagautoDelete(bool, path) - Auto-delete when idlefileCachePeriod(int, path) - Cache period in daysport(int, path) - Beacon port (0 for auto)
Returns: Beacon creation result
GET /GetBeacons
Section titled “GET /GetBeacons”Summary: Get list of local beacons
Returns: Local beacon information
GET /AddBeacon/{name}/{port}/{**ip}
Section titled “GET /AddBeacon/{name}/{port}/{**ip}”Summary: Add external beacon to network
Parameters:
name(string, path) - Beacon nameport(int, path) - Beacon portip(string, path, catch-all) - IP address
Returns: Beacon addition result
GET /DeleteBeacon/{id}
Section titled “GET /DeleteBeacon/{id}”Summary: Delete beacon by ID
Parameters:
id(string, path) - Beacon identifier
Returns: Deletion result
GET /SetBeaconState
Section titled “GET /SetBeaconState”Summary: Toggle beacon active/inactive state
Returns: State change result
Beacon Operations
Section titled “Beacon Operations”GET /DecodeBeaconLocator/{**locator}
Section titled “GET /DecodeBeaconLocator/{**locator}”Summary: Decode beacon locator string
Parameters:
locator(string, path, catch-all) - Beacon locator
Returns: Decoded beacon information
GET /GetBeaconAssets/{scUID}/{locators}/{address}/{**signature}
Section titled “GET /GetBeaconAssets/{scUID}/{locators}/{address}/{**signature}”Summary: Get assets from beacon network
Parameters:
scUID(string, path) - Smart contract UIDlocators(string, path) - Asset locatorsaddress(string, path) - Requester addresssignature(string, path, catch-all) - Request signature
Returns: Asset data from beacons
GET /GetAssetQueue
Section titled “GET /GetAssetQueue”Summary: Get beacon asset processing queue
Returns: Current asset queue status
Other beacon endpoints
Section titled “Other beacon endpoints”GET /GetBeaconInfo: the local beacon.GET /GetAssetQuestComplete: marks the asset queue complete.GET /GetDeleteAssetQueue/{id},GET /GetDeleteAssetQueueAll: delete one or all asset queue entries.GET /GetBeaconRequest: current beacon requests.GET /GetDeleteBeaconRequest/{id},GET /GetDeleteBeaconRequestAll: delete one or all beacon requests.
10. Web Shop API
Section titled “10. Web Shop API”Base Routes: wsapi/WebShopV1, wsapi/WebShopV1/{somePassword?}
Controller: WebShopV1Controller
API Status
Section titled “API Status”Summary: Check Web Shop API status
Returns: API status information
Multi-Shop Management
Section titled “Multi-Shop Management”GET /ConnectToDecShop/{address}/{**url}
Section titled “GET /ConnectToDecShop/{address}/{**url}”Summary: Connect to DecShop (multi-shop version)
Parameters:
address(string, path) - Shop owner addressurl(string, path, catch-all) - DecShop URL
Returns: Connection result
GET /PingShop/{pingId}/{**url}
Section titled “GET /PingShop/{pingId}/{**url}”Summary: Ping specific shop connection
Parameters:
pingId(string, path) - Ping identifierurl(string, path, catch-all) - Shop URL
Returns: Ping result
GET /GetDecShopData
Section titled “GET /GetDecShopData”Summary: Get shop data stored in memory
Returns: Cached shop data
GET /GetConnections
Section titled “GET /GetConnections”Summary: Get list of connected shops
Returns: Connected shop information
Shop Operations
Section titled “Shop Operations”GET /GetShopSpecificAuction/{listingId}/{address}/{**shopURL}
Section titled “GET /GetShopSpecificAuction/{listingId}/{address}/{**shopURL}”Summary: Get specific auction from shop
Parameters:
listingId(string, path) - Listing identifieraddress(string, path) - Shop addressshopURL(string, path, catch-all) - Shop URL
Returns: Auction details
POST /SendBid/{address}/{**shopURL}
Section titled “POST /SendBid/{address}/{**shopURL}”Summary: Send bid to specific shop
Parameters:
address(string, path) - Shop addressshopURL(string, path, catch-all) - Shop URL
Request Body: Bid data
Returns: Bid submission result
POST /SendChatMessage/{address}/{**shopURL}
Section titled “POST /SendChatMessage/{address}/{**shopURL}”Summary: Send chat message to shop
Parameters:
address(string, path) - Shop addressshopURL(string, path, catch-all) - Shop URL
Request Body: Chat message
Returns: Message send result
GET /Debug
Section titled “GET /Debug”Summary: Get debug information for Web Shop API
Returns: Debug data
Other Web Shop endpoints
Section titled “Other Web Shop endpoints”GET /CheckPingShop/{pingId},GET /ClearPingRequest: check or clear ping requests.GET /GetShopListingBids/{listingId}/{address}/{**shopURL}: a listing’s bids from a shop.POST /SendBuyNowBid/{address}/{**shopURL}: sends a buy-now bid to a shop.POST /SendChatMessageThirdParty: sends a chat message for a third-party client.GET /ResendChatMessage/{messageId}/{address}/{**shopUrl}: resends a chat message.
11. Reserve Accounts API
Section titled “11. Reserve Accounts API”Base Routes: rsapi/RSV1, rsapi/RSV1/{somePassword?}
Controller: RSV1Controller
Reserve Account Management
Section titled “Reserve Account Management”GET /GetAllReserveAccounts
Section titled “GET /GetAllReserveAccounts”Summary: Get all reserve accounts stored in this wallet
Returns: List of the wallet’s reserve accounts
GET /GetReserveAccountInfo/{address}
Section titled “GET /GetReserveAccountInfo/{address}”Summary: Get specific reserve account information
Parameters:
address(string, path) - Reserve account address
Returns: Reserve account details
GET /GetReserveAccountNFTAssets/{scUID}/{address}/{**password}
Section titled “GET /GetReserveAccountNFTAssets/{scUID}/{address}/{**password}”Summary: Get NFT assets for reserve account
Parameters:
scUID(string, path) - Smart contract UIDaddress(string, path) - Reserve account addresspassword(string, path, catch-all) - Access password
Returns: NFT asset information
Other reserve account endpoints
Section titled “Other reserve account endpoints”GET /GetReserveTransactions,GET /GetReserveTransactions/{address}: the wallet’s reserve transactions, optionally for one address (vBTC V2 rows carry the vBTC amount inData).GET /DecodeRestoreCode/{restoreCodeBase}: decodes a reserve account restore code.POST /NewReserveAddress: creates a reserve address.POST /RestoreReserveAddress: restores a reserve address with its recovery information.GET /PublishReserveAccount/{address}/{**password}: registers the reserve account on chain (4 VFX).POST /SendReserveTransaction: sends VFX from a reserve account (delayed).POST /ReserveTransferNFT: sends an NFT from a reserve account (delayed).GET /CallBackReserveAccountTx/{hash}/{**password}: calls back a pending reserve transaction.GET /RecoverReserveAccountTx/{recoveryPhrase}/{address}/{**password}: moves everything in a reserve account to its recovery address.GET /UnlockReserveAccount/{address}/{unlockTime}/{**password}: unlocks a reserve account for a time.
12. Adjudicator API
Section titled “12. Adjudicator API”Base Routes: adjapi/ADJV1, adjapi/ADJV1/{somePassword?}
Controller: ADJV1Controller
API Status
Section titled “API Status”Summary: Check Adjudicator API status
Returns: API status information
Network State Information
Section titled “Network State Information”GET /GetDups
Section titled “GET /GetDups”Summary: Get duplicates dictionary
Returns: Network duplicate information
GET /GetConsensusBroadcastTx
Section titled “GET /GetConsensusBroadcastTx”Summary: Get consensus broadcast transactions
Returns: Consensus transaction data
GET /GetFortisBroadcastTx
Section titled “GET /GetFortisBroadcastTx”Summary: Get Fortis pool broadcast transactions
Returns: Fortis pool transaction data
GET /GetMasternodes
Section titled “GET /GetMasternodes”Summary: Get masternode list
Returns: Current masternode information
GET /GetMasternodesSent
Section titled “GET /GetMasternodesSent”Summary: Get sent masternodes
Returns: Sent masternode data
GET /GetAdjInfo
Section titled “GET /GetAdjInfo”Summary: Get adjudicator information
Returns: Adjudicator state data
13. Validator Node API
Section titled “13. Validator Node API”Base Route: valapi/Validator
Controller: ValidatorController
This controller is not on the wallet API port. It is served on the validator port (ValAPIPort: 7294 on mainnet, 17294 on testnet) for validator-to-validator consensus calls, without the API filter. The routes below are a selection; the rest are internal.
Basic Status
Section titled “Basic Status”Summary: Simple validator API greeting
Returns: "Hello from ValidatorController!"
Validator Operations
Section titled “Validator Operations”POST /Status
Section titled “POST /Status”Summary: Submit validator status update
Request Body: Validator status data
Returns: Status submission result
POST /ReceiveWinningProof
Section titled “POST /ReceiveWinningProof”Summary: Submit winning proof to network
Request Body: Winning proof data
Returns: Proof submission result
GET /SendWinningProof/{blockHeight}
Section titled “GET /SendWinningProof/{blockHeight}”Summary: Get winning proof for block height
Parameters:
blockHeight(int, path) - Block height number
Returns: Winning proof data
GET /GetCasterVote
Section titled “GET /GetCasterVote”Summary: Get current caster vote
Returns: Current caster vote information
Block Operations
Section titled “Block Operations”GET /GetBlock/{blockHeight}
Section titled “GET /GetBlock/{blockHeight}”Summary: Get block by height for validation
Parameters:
blockHeight(int, path) - Block height
Returns: Block data for validation
GET /GetApproval/{blockHeight}
Section titled “GET /GetApproval/{blockHeight}”Summary: Get block approval status
Parameters:
blockHeight(int, path) - Block height
Returns: Approval information
GET /SendApproval/{blockHeight}/{validatorAddress}
Section titled “GET /SendApproval/{blockHeight}/{validatorAddress}”Summary: Send block approval
Parameters:
blockHeight(int, path) - Block heightvalidatorAddress(string, path) - Validator address
Returns: Approval submission result
Network Health
Section titled “Network Health”GET /HeartBeat/{address}
Section titled “GET /HeartBeat/{address}”Summary: Validator heartbeat with address
Parameters:
address(string, path) - Validator address
Returns: Heartbeat acknowledgment
GET /HeartBeat
Section titled “GET /HeartBeat”Summary: Simple validator heartbeat
Returns: Heartbeat response
Consensus Operations
Section titled “Consensus Operations”GET /SendSeedPart
Section titled “GET /SendSeedPart”Summary: Get seed part for consensus
Returns: Consensus seed part
GET /VerifyBlock/{nextBlock}/{**proofHash}
Section titled “GET /VerifyBlock/{nextBlock}/{**proofHash}”Summary: Verify block with proof
Parameters:
nextBlock(int, path) - Next block numberproofHash(string, path, catch-all) - Proof hash
Returns: Block verification result
Network Information
Section titled “Network Information”GET /Blockcasters
Section titled “GET /Blockcasters”Summary: Get blockcaster list
Returns: Current blockcaster information
GET /ValidatorInfo
Section titled “GET /ValidatorInfo”Summary: Get comprehensive validator information
Returns: Validator network data
GET /ClearAttestationGuard
Section titled “GET /ClearAttestationGuard”Summary: Localhost only. Forgets which block this caster signed at each height. The node keeps those claims on disk so a restart doesn’t release them; this is the deliberate way to release a height that can never be certified with the block this node signed. Called from any other address it returns 401
Returns: {"Success": true, "ClaimsRemoved": 3}
14. Integrations API
Section titled “14. Integrations API”Base Route: iapi/IntegrationsV1
Controller: IntegrationsV1Controller
Network Information
Section titled “Network Information”GET /Network
Section titled “GET /Network”Summary: Get comprehensive network information
Returns: Complete network status and statistics
GET /Height
Section titled “GET /Height”Summary: Get current blockchain height
Returns: Current block height number
GET /LastBlock
Section titled “GET /LastBlock”Summary: Get last block information
Returns: Most recent block data
15. vBTC V2 API (9.0 additions)
Section titled “15. vBTC V2 API (9.0 additions)”Base Routes: vbtcapi/VBTC, vbtcapi/VBTC/{somePassword?}
Controller: VBTCController
This section covers the routes Core 9.0 adds to the vBTC V2 API: withdrawals from vaults the chain watches, the Bitcoin attestation reads, and the validator bond. The whole vault lifecycle (creation, deposits, transfers, ownership, withdrawals including the multi-vault withdrawal, legacy vaults and S3C) is documented with examples on the vBTC page, and the external-signer flow on vBTC Raw Integration.
Watched and legacy vaults. From the Bitcoin attestation recording height (BitcoinAttestationRecordHeight; block 7,568,350 on mainnet; block 400 on testnet since its October 2026 restart), a newly created vault is watched: its deposits and withdrawals are recorded on chain from Bitcoin reports, and the owner’s balance is its attested coins. A watched vault’s withdrawal has no completion transaction and no cancellation vote. After the request is mined, the chain fixes (“pins”) the Bitcoin transaction that pays it, and the withdrawal completes when Bitcoin confirms it. Until it is pinned, the requester can cancel it, and the cancel takes effect when mined. If it does not confirm, the requester can raise its fee (bump) or give it up (release), both as a VBTC_V2_COIN_PIN (type 44) transaction. Vaults created before that height are legacy. They keep the earlier request, complete and cancel flow until the enforcement height (BitcoinAttestationHeight; block 7,658,350 on mainnet, about two weeks after the recording height; block 401 on testnet). From then on they are frozen, and withdrawal completion (type 28), the cancellation vote (type 30), bridge exit completion (type 41) and bridge exit failure (type 42) are refused for every vault. GetVaultBitcoin tells you which kind a vault is.
Withdrawal Flows
Section titled “Withdrawal Flows”Check the vault’s kind first with GET vbtcapi/VBTC/GetVaultBitcoin/{scUID} (Vault.Attested, Vault.Legacy, Vault.Frozen). Both kinds start the same way: POST vbtcapi/VBTC/RequestWithdrawal when this node holds the requester’s key, or POST vbtcapi/VBTC/GetRawRequestWithdrawalTxData then POST vbtcapi/VBTC/SendRawRequestWithdrawalTx for an external key.
Watched vault (created from the recording height):
-
Request the withdrawal. The vBTC is debited when the request is mined.
-
While no Bitcoin transaction is pinned for it (
Withdrawal.StateisWaitingandWithdrawal.CanCancelistrueinGetWithdrawalPin), the requester can cancel it with an ordinaryVBTC_V2_WITHDRAWAL_CANCEL(type 29):POST vbtcapi/VBTC/CancelWithdrawalwhen this node holds the requester’s key,POST vbtcapi/VBTC/GetRawCancelWithdrawalTxDatathenPOST vbtcapi/VBTC/SendRawCancelWithdrawalTxfor an external key, orPOST wallet/api/vbtc/withdraw/cancelin the built-in wallet. Only the requester can cancel. There is no validator vote (a type-30 vote is refused on a watched vault). The withdrawal closes as cancelled in the block that mines the cancel, and the escrowed vBTC is refunded. Once a Bitcoin transaction is pinned, a cancel is refused, and only a bump or a release (step 5) is left. A bridge exit’s part can’t be cancelled this way. -
The chain pins the Bitcoin transaction that pays it, and the vault’s signers sign it. Follow it with
GET vbtcapi/VBTC/GetWithdrawalPin/{scUID}/{withdrawalRequestHash}(the built-in wallet:GET wallet/api/vbtc/withdraw/pin/{scUID}/{requestHash}). There is no completion transaction to send, andPOST vbtcapi/VBTC/CompleteWithdrawalreturns the pin’s state instead of signing. -
Bitcoin confirms the payment and the withdrawal is complete.
-
If the payment isn’t confirming, either bump it (a type-44 transaction; the higher fee comes out of the withdrawal) or release it (also type 44): the coins go back to the vault and the vBTC is refunded, less the release’s Bitcoin fee. A pinned withdrawal can’t be cancelled.
Bump Release Node holds the requester’s key POST vbtcapi/VBTC/BumpWithdrawalFeePOST vbtcapi/VBTC/ReleaseWithdrawalExternal key (build, sign Hash, send)POST vbtcapi/VBTC/GetRawBumpWithdrawalFeeTxDatathenPOST vbtcapi/VBTC/SendRawBumpWithdrawalFeeTxPOST vbtcapi/VBTC/GetRawReleaseWithdrawalTxDatathenPOST vbtcapi/VBTC/SendRawReleaseWithdrawalTxBuilt-in browser wallet (node’s account) POST wallet/api/vbtc/withdraw/bumpfeePOST wallet/api/vbtc/withdraw/release
A request still waiting for coins can run out, and its vBTC is then refunded as for a cancel. Once its Bitcoin transaction is pinned, it can’t run out.
Legacy vault (created before the recording height), until the enforcement height:
- Request the withdrawal.
- Complete it with
POST vbtcapi/VBTC/CompleteWithdrawal(orPOST vbtcapi/VBTC/GetRawCompleteWithdrawalTxDatathenPOST vbtcapi/VBTC/SendRawCompleteWithdrawalTx), which signs and broadcasts the Bitcoin transaction and records the completion (type 28). - To cancel, send
POST vbtcapi/VBTC/CancelWithdrawal(type 29); validators vote on it (type 30).
From the enforcement height a legacy vault is frozen: nothing debits its balance, and withdrawal completion (type 28), the cancellation vote (type 30), bridge exit completion (type 41) and bridge exit failure (type 42) are refused for every vault.
Bitcoin Attestation
Section titled “Bitcoin Attestation”GET /GetBitcoinAttestationStatus
Section titled “GET /GetBitcoinAttestationStatus”Summary: The attestation layer as this node’s chain state holds it: the three heights, the Bitcoin tip the chain has attested, how far vault events are recorded, the signer set, and the confirmations a Bitcoin block needs before it is reported
Returns: {"Success": true, "Attestation": {...}}
GET /GetVaultBitcoin/{scUID}
Section titled “GET /GetVaultBitcoin/{scUID}”Summary: A vault’s Bitcoin as consensus holds it: the deposit script, every unspent coin and what holds it, the totals the owner’s balance is computed from, and the withdrawals still open
Parameters:
scUID(string, path) - The vault’s smart contract UID
Returns:Vault(the kind:Attested,Legacy,FreezeHeight,Frozen) andBitcoin. For a vault the chain does not watch,Successisfalse,BitcoinisnullandMessagegives the reason;Vaultis still filled in
GET /GetBridgeExit/{baseBurnTxHash}
Section titled “GET /GetBridgeExit/{baseBurnTxHash}”Summary: The bridge exit the chain holds for a Base burn: waiting, pinned, complete or failed, and for an exit on watched vaults each vault’s part with its Bitcoin transaction
Parameters:
baseBurnTxHash(string, path) - The Base burn transaction hash
Returns:{"Success": true, "Exit": {...}}, orSuccess: falsewhen no exit is recorded for the burn
Withdrawals from Watched Vaults
Section titled “Withdrawals from Watched Vaults”GET /GetWithdrawalPin/{scUID}/{withdrawalRequestHash}
Section titled “GET /GetWithdrawalPin/{scUID}/{withdrawalRequestHash}”Summary: Where a withdrawal from a watched vault stands: waiting for coins, its Bitcoin transaction pinned (with every transaction pinned for it, their fees and the unsigned bytes), paid, or closed and refunded. Answered from chain state, so any node gives the same answer
Parameters:
scUID(string, path) - The vault’s smart contract UIDwithdrawalRequestHash(string, path) - The hash of the withdrawal request transaction
Returns:{"Success": true, "Attested": true, "Withdrawal": {...}}. For a vault the chain does not watch,Successisfalse,Attestedisfalse,Vaultgives its kind, and the withdrawal is completed withCompleteWithdrawalinstead. On a watched vault whose request isn’t mined yet (or isn’t on that vault),Successisfalse,AttestedistrueandWithdrawalisnull. Try again once the request is mined.
POST /BumpWithdrawalFee
Section titled “POST /BumpWithdrawalFee”Summary: Raise the Bitcoin fee of a pinned withdrawal that is not confirming, signed by the requester’s account on this node. The chain pins a replacement that spends the same coins; the higher fee comes out of the withdrawal’s own amount
Request Body:
{ "SmartContractUID": "...", "RequestorAddress": "...", // the address that requested the withdrawal; it signs "WithdrawalRequestHash": "...", "FeeRate": 12 // sat/vB, above the rate the withdrawal's newest Bitcoin transaction pays}Returns: {"Success": true, "FeeBumpTxHash": "...", "Release": false, ...}. Follow it with GetWithdrawalPin.
POST /ReleaseWithdrawal
Section titled “POST /ReleaseWithdrawal”Summary: Give up a pinned withdrawal that is not confirming, signed by the requester’s account on this node. The chain pins a Bitcoin transaction that returns the coins to the vault; when Bitcoin shows it, the withdrawal is closed and the vBTC refunded, less that transaction’s Bitcoin fee, and the requester can withdraw again. If a payment of the withdrawal confirms first, it is paid as usual
Request Body: Same as BumpWithdrawalFee; FeeRate must be above the rate the withdrawal’s newest transaction pays
Returns: {"Success": true, "FeeBumpTxHash": "...", "Release": true, ...}
POST /GetRawBumpWithdrawalFeeTxData
Section titled “POST /GetRawBumpWithdrawalFeeTxData”POST /GetRawReleaseWithdrawalTxData
Section titled “POST /GetRawReleaseWithdrawalTxData”Summary: Build the unsigned type-44 fee bump or release for a requester whose key this node does not hold. The node checks it against the same rule block validation applies before returning it
Request Body: Same as BumpWithdrawalFee
Returns: The unsigned transaction (Hash, Timestamp, FromAddress, ToAddress, Amount, Fee, Nonce, TransactionType, TransactionTypeId, Data). Sign Hash and submit it with the matching send route.
POST /SendRawBumpWithdrawalFeeTx
Section titled “POST /SendRawBumpWithdrawalFeeTx”POST /SendRawReleaseWithdrawalTx
Section titled “POST /SendRawReleaseWithdrawalTx”Summary: Submit a signed type-44 transaction built by the matching GetRaw...TxData route. Each send route accepts only what its own build route made, so a fee bump can’t be sent as a release by mistake
Request Body:
{ "Hash": "...", // the Hash the build route returned "Signature": "...", // the requester's signature over Hash "PublicKey": "..." // the requester's public key (required)}Returns: {"Success": true, "Hash": "...", "Message": "..."}
The node’s built-in browser wallet has the same three operations at GET /wallet/api/vbtc/withdraw/pin/{scUID}/{requestHash}, POST /wallet/api/vbtc/withdraw/bumpfee and POST /wallet/api/vbtc/withdraw/release, signed by the node’s account. The bump and release body is camel-case, and feeRate is a string; a JSON number is rejected with 400:
{ "scUID": "...", "ownerAddress": "...", // the requester "requestHash": "...", "feeRate": "12"}Validator Bond
Section titled “Validator Bond”GET /GetValidatorBond/{address}
Section titled “GET /GetValidatorBond/{address}”Summary: The validator bond of any address: whether its stake is locked, how much it can send, when it unlocks after an exit, and from which block it counts for a vault’s key ceremony
Parameters:
address(string, path) - VFX address
Returns:BondwithRuleActive,RuleStartsAtHeight,Bonded,BondedAmount,Balance,Spendable,BondedAtHeight,ExitHeight,UnlocksAtHeight,ExitWaitBlocks,StakeLockedSinceHeight,CountsForKeyCeremoniesFromHeight,CountsForKeyCeremoniesNow,CountsForReportSignersFromHeight,Note
POST /ExitValidator/{address}
Section titled “POST /ExitValidator/{address}”Summary: Send the validator exit transaction for an address this wallet holds. The validator stops counting on chain at once, and its bonded 5,000 VFX unlocks 1,200 blocks after the exit is mined. Works for a validator that is no longer running too. If this node is validating with that address, it also stops validating. Refused before the validator bond height (ValidatorBondHeight), when no stake is locked
Parameters:
address(string, path) - The validator’s VFX address
Returns:{"Success": true, "ExitTxHash": "...", "Bond": {...}}
See Run a Validator for the full exit.
Other vBTC V2 endpoints
Section titled “Other vBTC V2 endpoints”The full flows, with request bodies, are on vBTC and vBTC Raw Integration.
GET /: status check (["VFX/vBTC-V2", "vBTC API V2 - MPC Based"]).GET /GetValidatorList/{activeOnly?},GET /GetValidatorStatus/{validatorAddress},POST /ValidatorHeartbeat/{validatorAddress}: vBTC validator list, status and heartbeat.POST /InitiateMPCCeremony/{ownerAddress},GET /GetCeremonyStatus/{ceremonyId},POST /CancelCeremony/{ceremonyId}/{ownerAddress}: run, follow or cancel the FROST key ceremony (DKG) for a new vault.POST /PrepareMPCCeremonyRaw,POST /ExecuteMPCCeremonyRaw: the same ceremony for an external signer.POST /CreateVBTCContract,POST /CreateVBTCContractRaw,POST /GetRawCreateContractTxData,POST /SendRawCreateContractTx: create the vault contract after the ceremony.GET /GetMPCDepositAddress/{scUID}: a vault’s Bitcoin deposit address.GET /GetS3CStatus,POST /StartS3CAutoBridge,GET /GetS3CAutoBridgeStatus/{orchestrationId}: S3C (Self-Custodial Smart Contract) pre-flight and the S3C auto-bridge to Base.POST /TransferVBTC,POST /TransferVBTCMulti,POST /GetRawTransferVBTCData,POST /GetRawTransferVBTCMultiData,POST /SendRawTransferVBTCTx: transfers, single-vault or spread across the sender’s vaults.GET /TransferOwnership/{scUID}/{toAddress},GET /GetVBTCOwnershipTransferData/{scUID}/{toAddress}/{**locator}: transfer a vault contract’s ownership.POST /RequestWithdrawal,POST /RequestWithdrawalMulti,POST /RequestWithdrawalRaw,POST /GetRawRequestWithdrawalTxData,POST /GetRawRequestWithdrawalMultiTxData,POST /SendRawRequestWithdrawalTx: withdrawal requests.GET /GetWithdrawalRequestShares/{withdrawalRequestHash}: the per-vault shares of a (multi-vault) withdrawal request.POST /CompleteWithdrawal,POST /CompleteWithdrawalMulti,POST /PrepareCompleteWithdrawalRaw,POST /ExecuteCompleteWithdrawalRaw,POST /GetRawCompleteWithdrawalTxData,POST /SendRawCompleteWithdrawalTx: completion (legacy vaults; on a watched vault these report the pin’s state).POST /CancelWithdrawal,POST /CancelWithdrawalRaw,POST /GetRawCancelWithdrawalTxData,POST /SendRawCancelWithdrawalTx: cancellation.POST /VoteOnCancellation,GET /GetCancellationStatus/{scUID}/{withdrawalRequestHash}: a validator’s cancellation vote (legacy vaults) and the vote status.GET /GetVBTCBalance/{address}/{scUID},GET /GetAllVBTCBalances/{address}: vBTC balances.GET /GetContractDetails/{scUID},GET /GetContractList/{address?},GET /GetContractHealth/{scUID}: vault details, list and signer health.GET /GetWithdrawalHistory/{scUID},GET /GetWithdrawalStatus/{scUID}: a vault’s withdrawals.GET /ResyncVBTCContracts: rebuilds the node’s local vBTC records.GET /GetDefaultImageBase: the default vBTC image (Base64).POST /ShieldVBTC,POST /UnshieldVBTC,POST /PrivateTransferVBTC,GET /GetShieldedVBTCBalance,GET /GetShieldedVBTCPoolState/{scUID}: shielded vBTC (Prism).POST /BridgeToBase,GET /GetBridgeLockStatus/{lockId},GET /GetBridgeLocks/{scUID},GET /GetBridgeLocksByOwner/{ownerAddress}: lock vBTC to mint vBTC.b on Base, and follow the locks.POST /SignMintAttestation,GET /GetMintAttestation/{lockId}: validator signatures for a vBTC.b mint.GET /GetBaseBalance/{evmAddress},GET /GetBridgeStatus,GET /GetBridgeConfig: vBTC.b balance on Base and the bridge configuration.POST /PollBaseExitBurns,POST /RescanExitBurns/{fromBlock}: rescan Base for exit burns.POST /ConfigureBridge: sets the bridge configuration at runtime (development only).POST /RelayPendingBridgeLocks: deprecated.POST /InvalidateFrostContract/{scUID},POST /RemoveFrostBlacklist/{scUID},GET /GetFrostBlacklist: the operator’s FROST blacklist.
16. Privacy API: raw shielded VFX (9.0 additions)
Section titled “16. Privacy API: raw shielded VFX (9.0 additions)”Base Routes: privacyapi/PrivacyV1, privacyapi/PrivacyV1/{somePassword?}
Controller: PrivacyV1Controller
For wallets that hold their own keys and keep no shielded wallet on this node, such as a web wallet. The node reads the pool, finds the caller’s notes and runs the prover; the caller signs (shield only) and submits. The rest of the privacy controller is not documented here yet.
- Shield (T→Z):
GetRawShieldTxData→ signHashwith the transparent key →SendRawPrivateTxwithHashandSignature. - Unshield (Z→T) and private transfer (Z→Z):
GetRawUnshieldTxDataorGetRawPrivateTransferTxDatawith thezfx_address and its viewing key →SendRawPrivateTxwithHashonly. These are authorised by the zero-knowledge proof, not a signature.
A built transaction waits on the node for 30 minutes (ExpiresUtc). A spend also goes stale when the pool’s Merkle root moves, so submit promptly and rebuild on “merkle_root does not match”.
Responses are {"Success": true, "Result": {...}} or {"Success": false, "Message": "..."}.
POST /GetRawShieldTxData
Section titled “POST /GetRawShieldTxData”Summary: An unsigned, proven shield for a FromAddress this node does not hold
Request Body:
{ "FromAddress": "...", "RecipientZfxAddress": "zfx_...", "ShieldAmount": 10.0, "TransparentFee": null, // optional; the node calculates it when omitted "Memo": null // optional}Returns: Result with Hash, Transaction, Fee, RequiresSignature (true), MerkleRoot, ExpiresUtc
POST /GetShieldedNotesRaw
Section titled “POST /GetShieldedNotesRaw”Summary: Stateless scan: the VFX notes a viewing key can open, with position, spent, pending and spendable state, and randomness. Needs no wallet on this node
Request Body:
{ "ZfxAddress": "zfx_...", "ViewingKey": "...", // 32 bytes, Base64 or 64 hex characters "FromHeight": null, // optional; default the proof-rules height once active, else 0 "ToHeight": null, // optional; default the chain tip "IncludeSpent": false}Returns: Result with Notes (Commitment, Amount, TreePosition, BlockHeight, Spent, PendingSpend, Spendable, …), UnspentBalance, SpendableBalance, ProofRulesActive
POST /GetRawUnshieldTxData
Section titled “POST /GetRawUnshieldTxData”Summary: A complete, proven unshield from the caller’s notes. No signature needed
Request Body:
{ "ZfxAddress": "zfx_...", "ViewingKey": "...", "TransparentToAddress": "...", "TransparentAmount": 5.0, "InputCommitments": null // optional: spend exactly these 1 or 2 notes; the node selects when omitted}Returns: Result with Hash, Transaction, Fee, SpentCommitments, ChangeAmount, MerkleRoot, ExpiresUtc
POST /GetRawPrivateTransferTxData
Section titled “POST /GetRawPrivateTransferTxData”Summary: A complete, proven private transfer to another zfx_ address, or to your own to consolidate. No signature needed
Request Body: ZfxAddress, ViewingKey, RecipientZfxAddress, PaymentAmount, InputCommitments (optional)
Returns: As GetRawUnshieldTxData
POST /VerifyRawPrivateTx
Section titled “POST /VerifyRawPrivateTx”Summary: Dry run: the node’s full verifier on a built transaction, with the signature for a shield. Nothing is broadcast
Request Body: {"Hash": "...", "Signature": "..."} (Signature for a shield only)
Returns: Result with Hash and "Transaction verifies.", or the reason it doesn’t
POST /SendRawPrivateTx
Section titled “POST /SendRawPrivateTx”Summary: Submit a built transaction: a shield with Hash and Signature, an unshield or transfer with Hash only
Request Body: {"Hash": "...", "Signature": "..."}
Returns: Result with Hash and Message
Other privacy endpoints
Section titled “Other privacy endpoints”These use the shielded wallet held on this node.
GET /GetPlonkStatus: whether the PLONK proving parameters are loaded.POST /GenerateShieldedAddress,POST /CreateShieldedAddressFromAccount: create azfx_shielded address.POST /ShieldVFX,POST /UnshieldVFX,POST /PrivateTransferVFX,POST /ConsolidateShieldedVFX: shielded VFX operations.GET /GetShieldedBalance,GET /GetShieldedPoolState: shielded VFX balance and pool state.POST /ScanShielded,POST /ResyncShieldedWallet: scan for notes, or wipe and rescan from a height.POST /ExportViewingKey,POST /ImportViewingKey: export or import a viewing key (it can spend, so treat it as a private key).POST /ShieldVBTC,POST /UnshieldVBTC,POST /PrivateTransferVBTC,POST /ConsolidateShieldedVBTC,GET /GetShieldedVbtcBalance,GET /GetVbtcShieldedPoolState,POST /ScanShieldedVBTC,POST /ResyncShieldedVBTC: the same for shielded vBTC.
17. Explorer API
Section titled “17. Explorer API”Base Route: explorer
Controller: ExplorerController
The node’s built-in read-only explorer. It answers without the API token and without the API switched on, but only on loopback unless the node runs with openapi.
GET /: the explorer web page.GET /api/stats: height, network supply, peers, mempool size and network.GET /api/blocks: the latest blocks.GET /api/block/{height},GET /api/block/hash/{hash}: one block.GET /api/tx/{hash}: one transaction.GET /api/address/{address}: an address’s balance, locked balance, nonce and transactions.GET /api/mempool: pending transactions.GET /api/search?q=: finds a block, transaction or address.GET /api/stream: a server-sent event stream (text/event-stream) of live updates for the page.
18. Browser Wallet API
Section titled “18. Browser Wallet API”Base Route: wallet
Controller: WalletController
The JSON routes behind the node’s built-in browser wallet page (GET /wallet). They act for accounts held by this node and go through the same API gate as the other controllers.
GET /api/accounts,GET /api/txs/{address},GET /api/nfts/{address}: accounts, transactions and NFTs.POST /api/send/vfx: sends VFX.GET /api/btc,GET /api/btc/base-balances,POST /api/btc/link-evm: Bitcoin accounts, the ETH and vBTC.b balances on Base of those with a linked EVM address, and linking an EVM address.GET /api/vbtc/{address},POST /api/vbtc/transfer: vBTC balances and transfers.POST /api/vbtc/withdraw/request,POST /api/vbtc/withdraw/complete,POST /api/vbtc/withdraw/cancel,POST /api/vbtc/withdraw/bumpfee,POST /api/vbtc/withdraw/release,GET /api/vbtc/withdraw/pin/{scUID}/{requestHash},GET /api/vbtc/withdraw/status/{scUID}: vBTC withdrawals (see section 15).GET /api/vbtc/bridge/preflight/{ownerAddress}/{scUID},POST /api/vbtc/bridge/toBase,GET /api/vbtc/bridge/status/{lockId},POST /api/vbtc/bridge/submitMint/{lockId},POST /api/vbtc/bridge/retry/{lockId}/{ownerAddress},POST /api/vbtc/bridge/forceRetry/{lockId}/{ownerAddress},GET /api/vbtc/bridge/base-balance/{evmAddress}: the bridge to Base.GET /api/privacy/addresses,POST /api/privacy/createShieldedAddress,GET /api/privacy/balance/{zfxAddress},POST /api/privacy/shield,POST /api/privacy/unshield,POST /api/privacy/transfer,POST /api/privacy/scan,POST /api/privacy/resync,GET /api/privacy/plonkStatus,GET /api/privacy/poolState: shielded VFX.GET /api/privacy/vbtc/balance/{zfxAddress}/{scUID},POST /api/privacy/vbtc/shield,POST /api/privacy/vbtc/unshield,POST /api/privacy/vbtc/transfer,POST /api/privacy/vbtc/scan,GET /api/privacy/vbtc/poolState/{scUID}: shielded vBTC.GET /api/base-address/{vfxAddress}: the Base (EVM) address derived for a VFX address.
Common Response Patterns
Section titled “Common Response Patterns”Responses are JSON strings in one of two shapes, depending on the controller. Most controllers return Success and Message, plus a named field for the data (for example Token, Vote, Bond, Result). The transaction routes (txapi/TXV1) and the wallet sends return Result ("Success" or "Fail") and Message, plus a field such as Hash, Fee or Nonce. A few routes return plain text or a bare value (for example CheckStatus, GetCLIVersion, iapi/IntegrationsV1/Height).
Success Response Format
Section titled “Success Response Format”{ "Success": true, "Message": "Operation completed successfully"}{ "Result": "Success", "Message": "Transaction has been broadcasted.", "Hash": "..."}Error Response Format
Section titled “Error Response Format”{ "Success": false, "Message": "Error description"}Authentication
Section titled “Authentication”Requests carry the apitoken header when the node was started with an API token, and the {somePassword?} route segment only when AlwaysRequireAPIPassword=true. See Authentication.
Parameter Types
Section titled “Parameter Types”- Path Parameters: Required values in URL path
- Query Parameters: Optional values as URL query string
- Request Body: JSON payload for POST requests
- Catch-all Parameters (
{**param}): Capture entire path segments
HTTP Status Codes
Section titled “HTTP Status Codes”- 200 OK: Success
- 400 Bad Request: Invalid parameters
- 401 Unauthorized: The wallet is encrypted and locked (“You must type in your encryption password first!”)
- 403 Forbidden: Missing or wrong
apitoken, missing API password, API not enabled, or a non-loopback or cross-origin request - 404 Not Found: Resource not found
- 500 Internal Server Error: Server error
This documentation covers the 18 controllers of Core 9.0.2. Swagger on a running node (/swagger) lists every route with its parameters.