Skip to content
VerifiedXVerifiedX Docs
verifiedx.io
verifiedx.io

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.

  1. Main API (V1) - /api/V1
  2. Main API (V2) - /api/V2
  3. Bitcoin Integration API - /btcapi/BTCV2
  4. Smart Contracts API - /scapi/SCV1
  5. Tokens API V2 - /tkapi/TKV2
  6. Transactions API - /txapi/TXV1
  7. DecShop Trading API - /dstapi/DSTV1
  8. Voting API - /voapi/VOV1
  9. Beacon API - /bcapi/BCV1
  10. Web Shop API - /wsapi/WebShopV1
  11. Reserve Accounts API - /rsapi/RSV1
  12. Adjudicator API - /adjapi/ADJV1
  13. Validator Node API - /valapi/Validator
  14. Integrations API - /iapi/IntegrationsV1
  15. vBTC V2 API (9.0 additions) - /vbtcapi/VBTC
  16. Privacy API: raw shielded VFX (9.0 additions) - /privacyapi/PrivacyV1
  17. Explorer API - /explorer
  18. Browser Wallet API - /wallet

Base Routes: api/V1, api/V1/{somePassword?}
Controller: V1Controller

Summary: Check Status of API
Returns: Array of strings indicating API status
Response: ["VFX-Wallet", "API"]

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 other id is 404 Not Found from Core 9.0.2; earlier versions answered 200 with the text “Command not recognized”.

Summary: Unlock API using password
Parameters:

  • password (string, path) - Wallet password
    Returns: JSON with success status and message

Summary: Lock API using password
Parameters:

  • password (string, path) - Wallet password
    Returns: JSON with success status and message

Summary: Check wallet encryption status
Returns: JSON indicating encryption state

Summary: Check if password needed for GUI operations
Returns: Boolean indicating password requirement

Summary: Generate new wallet address
Returns: JSON containing new address details

Summary: Get comprehensive wallet information
Returns: JSON with balance, address count, and wallet details

Summary: Get all wallet addresses
Returns: Array of address objects with balances

Summary: Get validator-eligible addresses
Returns: Array of addresses that can validate

Summary: Get specific address information
Parameters:

  • id (string, path) - Wallet address
    Returns: Address details including balance and validation status

Summary: Get balance from blockchain state
Parameters:

  • vfxAddress (string, path) - VFX address
    Returns: Current balance from chain state

Summary: Import private key to wallet
Parameters:

  • id (string, path) - Private key
  • scan (bool?, path, optional) - Scan blockchain for transactions
    Returns: Import result status

Summary: Check if currently validating
Returns: Boolean validation status

Summary: Enable validator for address
Parameters:

  • id (string, path) - Validator address
    Returns: Activation result

Summary: Disable validator
Parameters:

  • id (string, path) - Validator address
    Returns: Deactivation result

Summary: Start validation process
Parameters:

  • addr (string, path) - Validator address
  • uname (string, path) - Username
    Returns: Validation start result

GET /SendTransaction/{faddr}/{taddr}/{amt}

Section titled “GET /SendTransaction/{faddr}/{taddr}/{amt}”

Summary: Send transaction (deprecated method)
Parameters:

  • faddr (string, path) - From address
  • taddr (string, path) - To address
  • amt (decimal, path) - Amount
    Returns: Transaction result Note: Deprecated - use the Transactions API (txapi/TXV1)

Summary: Validate VFX address or ADNR
Parameters:

  • address (string, path, catch-all) - Address or ADNR to validate
    Returns: Validation result with format information

Summary: Create cryptographic signature
Parameters:

  • message (string, path) - Message to sign
  • address (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 message
  • address (string, path) - Signing address
  • sigScript (string, path, catch-all) - Signature to validate
    Returns: Validation result

Summary: Get current mempool transactions
Returns: Array of pending transactions

Summary: Get block by height number
Parameters:

  • height (long, query) - Block height, for example GetBlockByHeight?height=100
    Returns: Block information, or an empty body when the block is not found

Summary: Get block by hash
Parameters:

  • hash (string, query) - Block hash, for example GetBlockByHash?hash=<hash>
    Returns: Block information, or an empty body when the block is not found

Summary: Add and connect to peer
Parameters:

  • ipAddr (string, path, catch-all) - IP address and port
    Returns: Connection result

Summary: Get Anti-Black List
Returns: Current anti-blacklist entries

Summary: Check if address is blacklisted
Parameters:

  • addr (string, path) - Address to check
    Returns: Blacklist status (True or False)
  • 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=true makes 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 if runUpdate is 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 example 9.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.

Base Routes: api/V2, api/V2/{somePassword?}
Controller: V2Controller

Summary: Check API V2 status
Returns: Array indicating V2 API status

Summary: Get VFX and Token balances for all accounts
Returns: Comprehensive balance information for all addresses

Summary: Get balance from chain state for specific address
Parameters:

  • address (string, path) - VFX address
    Returns: Current balance from blockchain state

Summary: Resolve ADNR to address
Parameters:

  • adnr (string, path, catch-all) - ADNR to resolve (supports .vfx, .rbx, .btc)
    Returns: Resolved address information

Summary: Get ADNR from address and asset type
Parameters:

  • address (string, path) - Address to lookup
  • asset (string, path) - Asset type
    Returns: Associated ADNR

Summary: Get validator winning proofs
Returns: Current winning proofs from validators

Summary: Get network validator pool
Returns: List of active validators

Summary: Get consensus header queue
Returns: Current consensus queue state

Summary: Get producer dictionary
Returns: Block producer information

Summary: Get failed block producers
Returns: Failed producer list

Summary: Get banned failed producers
Returns: Banned producer information

Summary: Get backup proofs
Returns: Backup validation proofs

Summary: Get finalized proofs
Returns: Finalized validation proofs

Summary: Get next validator block
Returns: Next block to be validated

Summary: Get network block queue
Returns: Current network block queue

Summary: Get validator lists
Returns: Validator list information

Summary: Get caster round information
Returns: Block caster round data

Summary: Decompress base64 image to byte array
Request Body: Base64 image string
Returns: Decompressed byte array

Summary: Decompress base64 image to string
Request Body: Base64 image string
Returns: Decompressed image string

Base Routes: btcapi/BTCV2, btcapi/BTCV2/{somePassword?}
Controller: BTCV2Controller

Summary: Check Bitcoin API status
Returns: ["VFX/BTC-Wallet", "BTC API Standard V2"]

Summary: Get default Bitcoin address type
Returns: Current address type configuration

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 key
  • addressFormat (string?, path, optional) - Address format preference
    Returns: Import result

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 address
  • omitKeys (bool?, path, optional) - Omit private keys
    Returns: Account details

Summary: Reset Bitcoin accounts and UTXOs
Returns: Reset operation result

Summary: Get UTXOs for Bitcoin address
Parameters:

  • address (string, path) - Bitcoin address
    Returns: List of unspent transaction outputs

Summary: Get transaction list for Bitcoin address
Parameters:

  • address (string, path) - Bitcoin address
    Returns: Transaction history

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 address
  • taddr (string, path) - To address
  • amt (decimal, path) - Amount in BTC
  • feeRate (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 address
  • taddr (string, path) - To address
  • amt (decimal, path) - Amount
  • feeRate (decimal, path) - Fee rate
    Returns: Calculated fee amount

GET /CreateAdnr/{address}/{btcAddress}/{name}

Section titled “GET /CreateAdnr/{address}/{btcAddress}/{name}”

Summary: Create Bitcoin ADNR
Parameters:

  • address (string, path) - VFX address
  • btcAddress (string, path) - Bitcoin address
  • name (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 unlocked
  • name (string, path) - The name, with or without .btc
  • newOwner (string, path) - The VFX address that will own the name
    Returns: {"Success": true, "Message": "Signed.", "BTCToMessage": "...", "BTCToSignature": "..."}. BTCToMessage is <unix seconds>:<newOwner>:<name>.btc, and BTCToSignature is the receiving Bitcoin key’s signature of it. Give both to the sender for TransferAdnr. 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 address
  • btcFromAddress (string, path) - Source Bitcoin address
  • btcToAddress (string, path) - Target Bitcoin address
  • btcToMessage (string, query, optional) - The receiver’s acceptance message, from SignAdnrTransferAcceptance
  • btcToSignature (string, query, optional) - The receiver’s acceptance signature over btcToMessage
    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 btcToAddress is in this wallet, leave both parameters out. The node signs the acceptance itself.
  • Cross-wallet: the receiver calls SignAdnrTransferAcceptance on their own node and sends the sender the message and signature. The sender passes both, URL-encoded, as btcToMessage and btcToSignature. 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.

Summary: Delete Bitcoin ADNR
Parameters:

  • btcFromAddress (string, path) - Bitcoin address
    Returns: Deletion result

vBTC routes are in the vBTC V2 API (vbtcapi/VBTC).

Summary: Broadcast Bitcoin transaction
Parameters:

  • txHash (string, path) - The signed raw transaction hex (despite the name, not a hash)
    Returns: Broadcast result

Summary: Rebroadcast Bitcoin transaction
Parameters:

  • txid (string, path) - Transaction ID
    Returns: Rebroadcast result
  • 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.

Base Routes: scapi/SCV1, scapi/SCV1/{somePassword?}
Controller: SCV1Controller

Summary: Smart Contract API status check
Returns: API status information

Summary: Get specific smart contract commands
Parameters:

  • id (string, path) - Command identifier
    Returns: No command is defined, so every id is 404 Not Found from Core 9.0.2; earlier versions answered 200 with the text “Command not recognized”.

Summary: Test JSON payload formatting for smart contracts
Request Body: Test JSON payload
Returns: Formatting test result

Summary: Test JSON deserialization for smart contracts
Request Body: JSON to test deserialization
Returns: Deserialization test result

Summary: Get current smart contract owner (deprecated)
Parameters:

  • scUID (string, path) - Smart contract unique identifier
    Returns: Current owner address

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 number
  • search (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 is true or false (that is read as excludeToken). Earlier versions read any search text as excludeToken and answered 400. 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 number
  • excludeToken (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 number
  • excludeToken (bool?, path, optional) - Exclude tokens
  • tokensOnly (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 number
  • excludeToken (bool?, path, optional) - Exclude tokens
  • tokensOnly (bool?, path, optional) - Only tokens
  • search (string, path, catch-all) - Search terms
    Returns: Comprehensively filtered list

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 number
  • search (string, path, catch-all) - Search terms
    Returns: Filtered minted contracts

Summary: Get specific smart contract details
Parameters:

  • id (string, path) - Smart contract identifier
    Returns: Complete smart contract information

Summary: Transfer NFT to another address
Parameters:

  • id (string, path) - NFT identifier
  • toAddress (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 identifier
  • toAddress (string, path) - Destination address
  • backupURL (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 UID
  • toAddress (string, path) - Buyer address
  • saleAmount (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 UID
  • toAddress (string, path) - Buyer address
  • saleAmount (decimal, path) - Sale price
  • backupURL (string, path, catch-all) - Backup URL
    Returns: Sale transfer result
  • POST /CreateSmartContract: compiles a smart contract (SEN) for minting. See Compiling and minting.
  • GET /MintSmartContract/{id}: mints a contract made with CreateSmartContract.
  • 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.

Base Routes: tkapi/TKV2, tkapi/TKV2/{somePassword?}
Controller: TKV2Controller

Summary: Check Token API status
Returns: Token API status information

Summary: Get token information for smart contract
Parameters:

  • scUID (string, path) - Smart contract unique identifier
  • getAll (bool, path) - Get all token details
    Returns: Token contract information

Summary: Update token list in memory
Returns: Update operation result

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 UID
  • fromAddress (string, path) - Source address
  • toAddress (string, path) - Destination address
  • amount (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 UID
  • fromAddress (string, path) - Address to burn from
  • amount (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 UID
  • fromAddress (string, path) - Minting address (must be owner)
  • amount (decimal, path) - Amount to mint
    Returns: Mint transaction result

GET /PauseTokenContract/{scUID}/{fromAddress}

Section titled “GET /PauseTokenContract/{scUID}/{fromAddress}”

Summary: Pause token contract operations
Parameters:

  • scUID (string, path) - Smart contract UID
  • fromAddress (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 UID
  • fromAddress (string, path) - Owner address
  • banAddress (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 UID
  • fromAddress (string, path) - Current owner
  • toAddress (string, path) - New owner
    Returns: Ownership transfer result

See Fungible Tokens for parameters.

  • POST /CreateTokenTopic: creates a token holders’ vote topic.
  • GET /CastTokenTopicVote/{scUID}/{fromAddress}/{topicUID}/{voteType}: votes on a token topic (1 yes, 0 no).
  • GET /GetVoteBySmartContractUID/{scUID}, GET /GetVoteByTopic/{topicUID}, GET /GetVotesByAddress/{fromAddress}, GET /GetTokenOwnerVoteList/{tUID}: token vote reads.

Base Routes: txapi/TXV1, txapi/TXV1/{somePassword?}
Controller: TXV1Controller

Summary: Get current Unix timestamp
Returns: Current timestamp value

Summary: Get successful local transactions
Returns: List of completed local transactions

Summary: Get reserve account transactions
Returns: Reserve account transaction history

Summary: Get mined reward transactions
Returns: Mining reward transaction list

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); GetNetworkTXByHashSafe is 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}: .vfx name 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.

Base Routes: dstapi/DSTV1, dstapi/DSTV1/{somePassword?}
Controller: DSTV1Controller

Summary: Check DecShop API status
Returns: API status information

Summary: Save or update NFT collection
Request Body: Collection data object
Returns: Save operation result

Summary: Get collection information
Parameters:

  • collectionId (string, path) - Collection identifier
    Returns: Collection details

Summary: Get all collections
Returns: List of all NFT collections

Summary: Delete collection
Parameters:

  • collectionId (string, path) - Collection to delete
    Returns: Deletion result

Summary: Create or update NFT listing
Request Body: Listing data object
Returns: Listing save result

Summary: Get listings for collection
Parameters:

  • collectionId (string, path) - Collection identifier
    Returns: Collection’s active listings

Summary: Get specific listing details
Parameters:

  • listingId (string, path) - Listing identifier
    Returns: Complete listing information

Summary: Connect to DecShop instance
Parameters:

  • address (string, path) - Shop owner address
  • url (string, path, catch-all) - DecShop URL
    Returns: Connection result

Summary: Get shop listings with pagination
Parameters:

  • page (int, path) - Page number
    Returns: Paginated shop listings

Summary: Check shop connection status
Parameters:

  • pingId (string, path) - Ping identifier
    Returns: Connection status

Summary: Send bid on listing
Request Body: Bid details object
Returns: Bid submission result

Summary: Send buy now bid
Request Body: Buy now bid details
Returns: Purchase result

Summary: Send chat message to listing
Request Body: Chat message object
Returns: Message send result

Summary: Get bid information
Parameters:

  • sendReceive (enum, path) - Filter: Sent (0) or Received (1)
    Returns: Bid list based on filter

GET /CompleteNFTPurchase/{keySign}/{**scUID}

Section titled “GET /CompleteNFTPurchase/{keySign}/{**scUID}”

Summary: Complete NFT purchase transaction
Parameters:

  • keySign (string, path) - Transaction signature
  • scUID (string, path, catch-all) - Smart contract UID
    Returns: Purchase completion result
  • 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 its vfx:// (or legacy rbx://) 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.

Base Routes: voapi/VOV1, voapi/VOV1/{somePassword?}
Controller: VOV1Controller

Summary: Get all voting topics
Returns: Complete list of vote topics

Summary: Get currently active voting topics
Returns: Active voting topics

Summary: Get inactive/closed voting topics
Returns: Closed voting topics

Summary: Get detailed topic information
Parameters:

  • topicUID (string, path) - Topic unique identifier
    Returns: Complete topic details

Summary: Get topics you created
Returns: Topics created by current user

Summary: Get votes you have cast
Returns: Your voting history

Summary: Get all votes for specific topic
Parameters:

  • topicUID (string, path) - Topic identifier
    Returns: Topic vote results

Summary: Search topics by keywords
Parameters:

  • search (string, path, catch-all) - Search terms
    Returns: Matching topics

Summary: Cast vote on topic
Parameters:

  • topicUID (string, path) - Topic identifier
  • voteType (enum, path) - 1 (Yes) or 0 (No)
    Returns: Vote casting result

Summary: Create new voting topic
Request Body: Topic creation data
Returns: Topic creation result

  • GET /GetAuditTopic/{topicUID}: audits a topic’s votes (slow).

Base Routes: bcapi/BCV1, bcapi/BCV1/{somePassword?}
Controller: BCV1Controller

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 name
  • isPrivate (bool, path) - Private beacon flag
  • autoDelete (bool, path) - Auto-delete when idle
  • fileCachePeriod (int, path) - Cache period in days
  • port (int, path) - Beacon port (0 for auto)
    Returns: Beacon creation result

Summary: Get list of local beacons
Returns: Local beacon information

Summary: Add external beacon to network
Parameters:

  • name (string, path) - Beacon name
  • port (int, path) - Beacon port
  • ip (string, path, catch-all) - IP address
    Returns: Beacon addition result

Summary: Delete beacon by ID
Parameters:

  • id (string, path) - Beacon identifier
    Returns: Deletion result

Summary: Toggle beacon active/inactive state
Returns: State change result

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 UID
  • locators (string, path) - Asset locators
  • address (string, path) - Requester address
  • signature (string, path, catch-all) - Request signature
    Returns: Asset data from beacons

Summary: Get beacon asset processing queue
Returns: Current asset queue status

  • 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.

Base Routes: wsapi/WebShopV1, wsapi/WebShopV1/{somePassword?}
Controller: WebShopV1Controller

Summary: Check Web Shop API status
Returns: API status information

Summary: Connect to DecShop (multi-shop version)
Parameters:

  • address (string, path) - Shop owner address
  • url (string, path, catch-all) - DecShop URL
    Returns: Connection result

Summary: Ping specific shop connection
Parameters:

  • pingId (string, path) - Ping identifier
  • url (string, path, catch-all) - Shop URL
    Returns: Ping result

Summary: Get shop data stored in memory
Returns: Cached shop data

Summary: Get list of connected shops
Returns: Connected shop information

GET /GetShopSpecificAuction/{listingId}/{address}/{**shopURL}

Section titled “GET /GetShopSpecificAuction/{listingId}/{address}/{**shopURL}”

Summary: Get specific auction from shop
Parameters:

  • listingId (string, path) - Listing identifier
  • address (string, path) - Shop address
  • shopURL (string, path, catch-all) - Shop URL
    Returns: Auction details

Summary: Send bid to specific shop
Parameters:

  • address (string, path) - Shop address
  • shopURL (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 address
  • shopURL (string, path, catch-all) - Shop URL
    Request Body: Chat message
    Returns: Message send result

Summary: Get debug information for Web Shop API
Returns: Debug data

  • 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.

Base Routes: rsapi/RSV1, rsapi/RSV1/{somePassword?}
Controller: RSV1Controller

Summary: Get all reserve accounts stored in this wallet
Returns: List of the wallet’s reserve accounts

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 UID
  • address (string, path) - Reserve account address
  • password (string, path, catch-all) - Access password
    Returns: NFT asset information
  • GET /GetReserveTransactions, GET /GetReserveTransactions/{address}: the wallet’s reserve transactions, optionally for one address (vBTC V2 rows carry the vBTC amount in Data).
  • 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.

Base Routes: adjapi/ADJV1, adjapi/ADJV1/{somePassword?}
Controller: ADJV1Controller

Summary: Check Adjudicator API status
Returns: API status information

Summary: Get duplicates dictionary
Returns: Network duplicate information

Summary: Get consensus broadcast transactions
Returns: Consensus transaction data

Summary: Get Fortis pool broadcast transactions
Returns: Fortis pool transaction data

Summary: Get masternode list
Returns: Current masternode information

Summary: Get sent masternodes
Returns: Sent masternode data

Summary: Get adjudicator information
Returns: Adjudicator state data

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.

Summary: Simple validator API greeting
Returns: "Hello from ValidatorController!"

Summary: Submit validator status update
Request Body: Validator status data
Returns: Status submission result

Summary: Submit winning proof to network
Request Body: Winning proof data
Returns: Proof submission result

Summary: Get winning proof for block height
Parameters:

  • blockHeight (int, path) - Block height number
    Returns: Winning proof data

Summary: Get current caster vote
Returns: Current caster vote information

Summary: Get block by height for validation
Parameters:

  • blockHeight (int, path) - Block height
    Returns: Block data for validation

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 height
  • validatorAddress (string, path) - Validator address
    Returns: Approval submission result

Summary: Validator heartbeat with address
Parameters:

  • address (string, path) - Validator address
    Returns: Heartbeat acknowledgment

Summary: Simple validator heartbeat
Returns: Heartbeat response

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 number
  • proofHash (string, path, catch-all) - Proof hash
    Returns: Block verification result

Summary: Get blockcaster list
Returns: Current blockcaster information

Summary: Get comprehensive validator information
Returns: Validator network data

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}

Base Route: iapi/IntegrationsV1
Controller: IntegrationsV1Controller

Summary: Get comprehensive network information
Returns: Complete network status and statistics

Summary: Get current blockchain height
Returns: Current block height number

Summary: Get last block information
Returns: Most recent block data

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.

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):

  1. Request the withdrawal. The vBTC is debited when the request is mined.

  2. While no Bitcoin transaction is pinned for it (Withdrawal.State is Waiting and Withdrawal.CanCancel is true in GetWithdrawalPin), the requester can cancel it with an ordinary VBTC_V2_WITHDRAWAL_CANCEL (type 29): POST vbtcapi/VBTC/CancelWithdrawal when this node holds the requester’s key, POST vbtcapi/VBTC/GetRawCancelWithdrawalTxData then POST vbtcapi/VBTC/SendRawCancelWithdrawalTx for an external key, or POST wallet/api/vbtc/withdraw/cancel in 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.

  3. 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, and POST vbtcapi/VBTC/CompleteWithdrawal returns the pin’s state instead of signing.

  4. Bitcoin confirms the payment and the withdrawal is complete.

  5. 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/BumpWithdrawalFee POST vbtcapi/VBTC/ReleaseWithdrawal
    External key (build, sign Hash, send) POST vbtcapi/VBTC/GetRawBumpWithdrawalFeeTxData then POST vbtcapi/VBTC/SendRawBumpWithdrawalFeeTx POST vbtcapi/VBTC/GetRawReleaseWithdrawalTxData then POST vbtcapi/VBTC/SendRawReleaseWithdrawalTx
    Built-in browser wallet (node’s account) POST wallet/api/vbtc/withdraw/bumpfee POST 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:

  1. Request the withdrawal.
  2. Complete it with POST vbtcapi/VBTC/CompleteWithdrawal (or POST vbtcapi/VBTC/GetRawCompleteWithdrawalTxData then POST vbtcapi/VBTC/SendRawCompleteWithdrawalTx), which signs and broadcasts the Bitcoin transaction and records the completion (type 28).
  3. 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.

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": {...}}

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) and Bitcoin. For a vault the chain does not watch, Success is false, Bitcoin is null and Message gives the reason; Vault is still filled in

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": {...}}, or Success: false when no exit is recorded for the burn

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 UID
  • withdrawalRequestHash (string, path) - The hash of the withdrawal request transaction
    Returns: {"Success": true, "Attested": true, "Withdrawal": {...}}. For a vault the chain does not watch, Success is false, Attested is false, Vault gives its kind, and the withdrawal is completed with CompleteWithdrawal instead. On a watched vault whose request isn’t mined yet (or isn’t on that vault), Success is false, Attested is true and Withdrawal is null. Try again once the request is mined.

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.

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, ...}

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.

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"
}

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: Bond with RuleActive, RuleStartsAtHeight, Bonded, BondedAmount, Balance, Spendable, BondedAtHeight, ExitHeight, UnlocksAtHeight, ExitWaitBlocks, StakeLockedSinceHeight, CountsForKeyCeremoniesFromHeight, CountsForKeyCeremoniesNow, CountsForReportSignersFromHeight, Note

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.

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 → sign Hash with the transparent key → SendRawPrivateTx with Hash and Signature.
  • Unshield (Z→T) and private transfer (Z→Z): GetRawUnshieldTxData or GetRawPrivateTransferTxData with the zfx_ address and its viewing key → SendRawPrivateTx with Hash only. 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": "..."}.

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

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

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

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

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

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

These use the shielded wallet held on this node.

  • GET /GetPlonkStatus: whether the PLONK proving parameters are loaded.
  • POST /GenerateShieldedAddress, POST /CreateShieldedAddressFromAccount: create a zfx_ 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.

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.

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.

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": true,
"Message": "Operation completed successfully"
}
{
"Result": "Success",
"Message": "Transaction has been broadcasted.",
"Hash": "..."
}
{
"Success": false,
"Message": "Error description"
}

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.

  • 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
  • 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.