SDK reference
Every client and method in tenzro-sdk, generated from the SDK at build time, with the JSON-RPC method each one calls.
This page lists every client in tenzro-sdk and its methods. Both SDKs share the same layout. Method names follow the JSON-RPC method they call, in lowerCamelCase for TypeScript and snake_case for Rust. For installation, configuration and signing, start with SDKs.
Conventions
- TypeScript exposes most clients as properties (
client.wallet,client.inference) and a few as methods (client.duty(),client.multimodal()). Rust exposes every client as a method (client.wallet(),client.inference()). - Amounts are in wei, the smallest TNZO unit (18 decimals). TypeScript returns balances as
bigint, Rust asu128. - Every method is in one of three access classes. Open needs no credentials. Owner needs a signature or a DPoP-bound session of the account that owns or pays for the change. Admin needs a DPoP-bound session of the node's operator DID or an administrator its access policy names, and only makes sense against your own node. See RPC access.
- Anything the typed clients do not cover is reachable through
client.gateway, which lists and calls every method the node serves.
Construction
import { TenzroClient } from "tenzro-sdk";
const client = new TenzroClient({
endpoint: "https://rpc.tenzro.com", // JSON-RPC
apiEndpoint: "https://api.tenzro.com", // Web API
timeout: 30_000,
});
// Or use a wallet injected into the page (EIP-6963 discovery):
const injected = await TenzroClient.fromInjected();use tenzro_sdk::{TenzroClient, config::SdkConfig};
let client = TenzroClient::connect(
SdkConfig::builder().endpoint("https://rpc.tenzro.com").build()?,
).await?;Clients and methods
The tables below are generated from the SDK's own API listing when the site is built, so they list exactly what the published tenzro-sdk has. The Rust and Python SDKs bind the same JSON-RPC methods in snake_case; each method's entry in the JSON-RPC reference names its binding in every language.
Root client
| Method | JSON-RPC | Does |
|---|---|---|
feeMarket | The base fee of every resource market the next block charges. | |
getBlockNumber | tenzro_blockNumber | |
getBlock | tenzro_getBlock | |
getLatestBlock | tenzro_getBlock | |
getBlockRange | tenzro_getBlockRange | Fetch a contiguous range of blocks for catch-up sync. |
getTransaction | tenzro_getTransaction | Get a transaction by hash. |
getBalance | tenzro_getBalance | |
getNonce | tenzro_getNonce | |
getChainId | eth_chainId | |
getGasPrice | eth_gasPrice | Returns the current effective gas price in wei (base fee + suggested priority tip). |
getMaxPriorityFeePerGas | eth_maxPriorityFeePerGas | Returns a suggested EIP-1559 priority fee (tip) in wei. |
getFeeHistory | eth_feeHistory | Returns base-fee history and gas-usage ratios for the last `blockCount` blocks. |
nodeInfo | tenzro_getNodeStatus | |
getStatus | ||
totalSupply | tenzro_totalSupply | |
peerCount | tenzro_peerCount | |
getNetworkStats | tenzro_getNetworkStats | Gets the network metrics snapshot. |
isSyncing | tenzro_syncing | |
isConnected | eth_chainId | |
health | ||
getFinalizedBlock | tenzro_getFinalizedBlock | Gets the finalized block height. |
exportConfig | tenzro_exportConfig | Exports the node configuration. |
getTransactionHistory | tenzro_getTransactionHistory | Gets transaction history for an address. |
endpoint | Read-only `string`. | |
apiEndpoint | Read-only `string`. | |
chainId | Read-only `number \| undefined`. |
client.access
| Method | JSON-RPC | Does |
|---|---|---|
challenge | tenzro_accessChallenge | A single-use challenge for `did`, bound to the DPoP key `dpopJkt`. |
issue | tenzro_issueAccessToken | Answer a challenge. |
getPolicy | tenzro_getAccessPolicy | The policy in force, as data and as TOML. |
setPolicy | tenzro_setAccessPolicy | Replace the policy with `toml`. |
preview | tenzro_previewAccess | What the policy decides for `did` (anonymous when omitted) calling `method` on `surface`. |
listTokens | tenzro_listAccessTokens | The live tokens the node issued. |
revokeToken | tenzro_revokeAccessToken | Withdraw one token by `jti`. |
revokeDid | tenzro_revokeAccessToken | Withdraw every live token of `did`. |
client.accountKeys()
| Method | JSON-RPC | Does |
|---|---|---|
enrollPqKey | Enroll the hardware's ML-DSA-65 key as the account's post-quantum key, or replace the enrolled one. |
client.adaptiveBurn()
| Method | JSON-RPC | Does |
|---|---|---|
getBurnRateConfig | tenzro_getBurnRateConfig | Returns the current `BurnRateConfig` (base and local fee burn bps). |
getEconomicPolicy | tenzro_getEconomicPolicy | Returns the economic policy this node applies to every settlement — how a payment divides, the marketplace commission, the network's default settlement asset, and the micro-settlement floor. |
getSupplyMetrics | tenzro_getSupplyMetrics | Returns the latest rolling supply metrics snapshot — circulating supply, epoch delta, burn breakdown, emission breakdown. |
getBurnRateRecommendation | tenzro_getBurnRateRecommendation | Computes the recommended adaptive-burn action from the current metrics and configured supply targets. |
getFeeRate | tenzro_getFeeRate | Returns the TNZO/USD rate fees are priced at (nano-USD per TNZO), its mode (`governance` or `validators`), the next block's base fee in USD and in TNZO, and the settlement fee in basis points. |
getEconomyMetrics | tenzro_getEconomyMetrics | Returns growth and concentration metrics for a reward epoch (the current one when `epoch` is omitted): settled value, payments per settlement, unique paying root identities, seed against organic volume, burn against emission, and the holder count, top-10 and top-100 share and Gini coefficient. |
listAdaptiveBurnProposals | tenzro_listProposals | Burn-dial governance proposals, newest first: the policy updates that set the burn shares or the supply targets the dial steers by. |
client.agent
| Method | JSON-RPC | Does |
|---|---|---|
delegateTask | Delegate a task to the node's A2A agent with an A2A v1.0 `SendMessage`. | |
getA2aTask | Fetch the current state of an A2A task (`GetTask`). | |
cancelA2aTask | Cancel an A2A task (`CancelTask`). | |
getAgentCard | Fetch the node's public A2A agent card from `/.well-known/agent-card.json`. | |
discoverModels | tenzro_discoverModels | Discover available models with optional filters. |
getAuditCommit | tenzro_getAgentAuditCommit | The audit root `committer` recorded on chain for `epoch` (the latest when omitted). |
verifyAuditAttestation | tenzro_verifyAgentAuditAttestation | Check the hardware attestation a node committed with its audit and telemetry root for `epoch`: the TPM quote binding the root to the machine's measured boot state and identity. |
getQuarantine | tenzro_getAgentQuarantine | Whether an agent is quarantined: the quarantine chain state records (which every node enforces) and any this node holds ahead of it. |
resolveAgentKey | tenzro_resolveAgentKey | Resolve the key an agent's HTTP request signature names, from chain state: the key, the agent's root, the terms in force and whether it is revoked or quarantined. |
agentDirectory | tenzro_getAgentDirectory | The agent's Web Bot Auth key directory (`{ keys: [JWK...] }`), from its terms at the current height. |
getBridgeCircuit | tenzro_getBridgeCircuit | The circuit-breaker records that disable or pause the bridge routes to and from `sourceChain`, for one adapter or every adapter. |
verifyAuditEntry | Check an audit entry's proof, as the agent's recorder exported it, and check the epoch root it reaches against the root recorded on chain, read through this client's node. | |
exportEvidencePack | tenzro_exportEvidencePack | `tenzro_exportEvidencePack`. |
flagAgentAudit | tenzro_flagAgentAudit | `tenzro_flagAgentAudit` (operator only). |
recordAgentAuditSession | tenzro_recordAgentAuditSession | `tenzro_recordAgentAuditSession` (operator only): report an audit session's latest line (its MMR root over `count` entries) to the serving node, which commits each ended epoch's lines on chain. |
client.agentAccounts
| Method | JSON-RPC | Does |
|---|---|---|
accounts | tenzro_agentAccounts | The agent's account on every configured chain. |
requestGrant | tenzro_requestRemoteGrant | Issue a grant on `chain` as the agent. |
grantProof | tenzro_getAgentGrantProof | The agent's grant on `chain` and its state proof. |
buildAction | tenzro_buildRemoteAction | The digest of an action and the proofs the account checks. |
walletConsent | tenzro_agentWalletConsent | The consent that makes the agent's account on an EVM `chain` the agentWallet of ERC-8004 entry `agentId` owned by `owner`: the registry's EIP-712 digest, the approveHash action approving it (sign it with `signAction`) and the setAgentWallet calldata the owner sends. |
signAction | tenzro_signRemoteAction | The serving node's signature over an action, as the agent. |
signChannelVoucher | tenzro_signRemoteChannelVoucher | The serving node's signature over a voucher on a channel the agent's account holds on `chain`, as the agent. |
client.agentGovernance()
| Method | JSON-RPC | Does |
|---|---|---|
org | tenzro_getOrg | An organization: members and roles, and agents. |
agent | tenzro_getAgentGovernance | An agent's organizations, change requests, policy modules and brokered credentials (names and hosts only). |
challenge | tenzro_agentGovernanceChallenge | The custody challenge a passkey signs to approve `op` (its approval left empty). |
submit | Submit `op`, approval filled in, as a transaction the payer's `signer` signs locally. | |
requestChange | tenzro_requestAgentTermsChange | As the agent whose access token the client carries, ask for `proposed` to replace its scope. |
client.agentPayments()
| Method | JSON-RPC | Does |
|---|---|---|
getTerms | tenzro_getAgentTerms | The agent's full Terms, root kind, status and spend so far against each limit. |
client.agentWallet
| Method | JSON-RPC | Does |
|---|---|---|
spawn | Spawn a new autonomous-agent identity backed by a passkey-rooted smart account. | |
listBondsFor | List every bond posted by a controller — the explorer / app surface uses this to render the controller's full agent fleet. | |
getRisk | tenzro_listAgentBondsByController | Composite risk snapshot for a given agent DID. |
client.auth
| Method | JSON-RPC | Does |
|---|---|---|
onboardHuman | tenzro_createCustodyChallenge | Onboard a new **human** participant — provisions a TDIP `did:tenzro:human:*` identity rooted in the caller's passkey, a permissionless wallet, and returns an OAuth 2.1 access token. |
onboardDelegatedAgent | tenzro_createCustodyChallenge | Onboard a **machine** as a delegated agent of an existing `controllerDid` (a human). |
agentAct | tenzro_agentAct | Take one action as a delegated agent, with the agent's access token on the transport. |
agentVoucher | tenzro_agentVoucher | The agent's next cumulative voucher on a channel its wallet funded, signed by the serving node with its hardware key for the agent. |
delegateAgent | tenzro_createCustodyChallenge | Delegate an agent with its root's approval: a human's passkey, or a machine's hardware key (machineRootAuthorization). |
updateAgentTerms | tenzro_createCustodyChallenge | Replace a delegated agent's terms with the controller's passkey. |
revokeDelegatedAgent | tenzro_createCustodyChallenge | Revoke a delegated agent with its root's approval (passkey or machine hardware key). |
onboardAutonomousAgent | tenzro_onboardAutonomousAgent | Onboard a **fully autonomous agent**. |
refreshToken | tenzro_refreshToken | Exchange a long-lived refresh token for a fresh access token. |
revokeJwt | tenzro_revokeJwt | Revoke a single JWT by its `jti` claim. |
revokeDid | tenzro_revokeIdentity | Revoke an entire identity by DID. |
forgetIdentity | tenzro_forgetIdentity | TDIP/GDPR Article 17 right-to-erasure. |
exchangeToken | tenzro_exchangeToken | **RFC 8693 OAuth 2.0 Token Exchange.** Exchange a parent JWT for a narrower child JWT bound to a different DPoP key, with a strictly subset of the parent's RAR grants and AAP capabilities. |
introspectToken | tenzro_introspectToken | **RFC 7662 OAuth 2.0 Token Introspection.** Ask the AS whether a token is currently active and, if so, return its full claim set (RAR, AAP, cnf, controller_did, etc.). |
oauthDiscovery | tenzro_oauthDiscovery | **RFC 8414 / RFC 9728 OAuth Authorization Server / Protected Resource Metadata.** Returns the same metadata document the AS publishes at `GET /.well-known/openid-configuration`. |
client.babylon
| Method | JSON-RPC | Does |
|---|---|---|
registerFinalityProvider | tenzro_babylonRegisterFinalityProvider | Register a Tenzro validator as a Babylon finality provider under its BTC public key and commission. |
getFinalityProvider | tenzro_babylonGetFinalityProvider | Read the finality provider registered for a validator. |
listFinalityProviders | tenzro_babylonListFinalityProviders | List every registered Babylon finality provider. |
totalStakeForProvider | tenzro_babylonTotalStakeForProvider | Total BTC delegated to a validator's finality provider. |
submitFinalitySignature | tenzro_babylonSubmitFinalitySignature | Submit a validator's EOTS signature over a Tenzro block hash; a missing or conflicting signature is slashable. |
listDelegations | tenzro_babylonListDelegations | List the BTC delegations to a validator's finality provider. |
client.beacon()
| Method | JSON-RPC | Does |
|---|---|---|
get | tenzro_getBeacon | The head (next round, current mix), the value at `round`, or the first at or after `atMs`. |
client.bond()
| Method | JSON-RPC | Does |
|---|---|---|
getAgentBond | tenzro_getAgentBond | Fetch an agent's bond record from chain state. |
listAgentBondsByController | tenzro_listAgentBondsByController | List all AgentBonds posted by a given controller DID. |
client.bridge()
| Method | JSON-RPC | Does |
|---|---|---|
send | Send `amount` base units out over the route to `targetChain`, to `recipient` (hex), as a `Bridge` transaction `signer` signs locally. | |
listRoutes | tenzro_listBridgeRoutes | Every governed route with its caps, epoch usage and supply. |
getRoute | tenzro_getBridgeRoute | The route for `adapter` (`ccip`, `canton`, `ibc`, `deposit` or `contract`) and `chain`. |
getOutbound | tenzro_getBridgeOutbound | Outbound record `sequence` of the route `(adapter, chain)`, as relayers and signers take it; for a Bitcoin deposit route, the withdrawal and the digest each input is signed over. |
client.bridgeFee
| Method | JSON-RPC | Does |
|---|---|---|
quote | tenzro_quoteBridgeFeeInTnzo |
client.catalog
| Method | JSON-RPC | Does |
|---|---|---|
list | tenzro_listCatalog | Every entry the node serves, optionally of one engine family. |
entry | tenzro_getCatalogEntry | One model's entry and its publishers. |
engineReleases | tenzro_getEngineReleases | The engine releases from the publishers the node's operator trusts for releases, newest first, each marked `newer` than the running build. |
client.contract
| Method | JSON-RPC | Does |
|---|---|---|
deploy | tenzro_deployContract | Deploy a contract to the specified VM. |
callContract | eth_call | Perform a read-only contract call (eth_call). |
client.cortex
| Method | JSON-RPC | Does |
|---|---|---|
status | tenzro_cortexStatus | Whether Cortex is enabled or required, its model and its state. |
forecast | tenzro_cortexForecast | The forecaster's band for one series (`traffic`, `settlements`, `latency_ms`, `peer_count`, `relay_load`, `fee_pressure`, `model_queue_depth`, `burn`, `emission`) in `scope`, `horizon` steps ahead. |
burnDraft | tenzro_cortexBurnDraft | Forecast burn against emission, for attaching to a governance draft. |
liveness | tenzro_cortexLiveness | Run the liveness challenge: on this node's own pair without `peerDid`, otherwise on that peer over the Cortex channel. |
ask | tenzro_askCortex | Ask the node's Cortex a question; returns the signed decision record. |
decisions | tenzro_listCortexDecisions | The newest `limit` signed decision records. |
messages | tenzro_listCortexMessages | The newest `limit` envelopes sent and received, with their acks. |
proposals | tenzro_listCortexProposals | Actions held for the operator. |
approve | tenzro_approveCortexProposal | Approve a held proposal: its action runs now. |
reject | tenzro_rejectCortexProposal | Reject a held proposal. |
revert | tenzro_revertCortexDecision | Undo an action Cortex ran, by running its recorded inverse. |
send | tenzro_sendCortexMessage | Send a signed envelope to a validator or RPC operator. |
client.crypto
| Method | JSON-RPC | Does |
|---|---|---|
verifySignature | tenzro_verifySignature | Verify a signature against a message and public key. |
client.daRetention()
| Method | JSON-RPC | Does |
|---|---|---|
object | tenzro_getDaObject | An object as chain state records it, with its expiry. |
retention | tenzro_getDaRetention | Retention per class, live and expired totals, and where expiry stands. |
client.device()
| Method | JSON-RPC | Does |
|---|---|---|
bindDevice | tenzro_bindDevice | Bind a device to an identity from a WebAuthn registration. |
listBoundDevices | tenzro_listBoundDevices | The devices that can authenticate as an identity, and what each proved. |
revokeBoundDevice | tenzro_revokeBoundDevice | Unbind a device and end every session it authorised, in one action. |
walletReadiness | tenzro_walletReadiness | Whether a wallet may be created for this identity, and if not, why. |
transferMachineOwnership | tenzro_transferMachineOwnership | Move a machine to another identity. |
settlementNetworks | tenzro_settlementNetworks | The rails a payment can settle on, and the smallest worthwhile payment on each. |
routePayment | tenzro_settlementNetworks | Where a specific charge would settle: accumulate below the micro-settlement floor, the Tenzro Ledger, a secondary rail, or no viable rail for the payee's asset. |
getInteraction | tenzro_getInteraction | Read an anchored interaction receipt and its attestation digest. |
verifyInteraction | tenzro_verifyInteraction | Check a receipt against what the node anchored. |
client.discovery
| Method | JSON-RPC | Does |
|---|---|---|
moeShardMap | tenzro_moeShardMap | Decentralized MoE shard map for `model_id`: providers holding each `(layer, expert)`, per-expert replication, under-replicated experts, hot experts, and role counts. |
moePlanDispatch | tenzro_moePlanDispatch | Build a dispatch plan from per-token top-k routing decisions. |
moeReplicationPolicy | tenzro_moeReplicationPolicy | Current governance-tuned replication policy. |
moeCatalogShape | tenzro_moeCatalogShape | Catalog-side MoE topology for `model_id`. |
moeExpertStatus | tenzro_moeExpertStatus | Resident experts and gates on this node's expert runtime, each with its residency tier (`Warm` in memory / `Cold` on disk) and byte footprint, plus the memory budget and whether GPU compute is active. |
moePrepareExperts | tenzro_moePrepareExperts | Slice a catalog checkpoint into per-expert blobs, optionally block-quantizing each projection, and publish them for holders to load. |
moeForward | tenzro_moeForward | Run one distributed MoE layer forward: gate `hidden` locally, fan the selected experts out to holders over the `tenzro/moe` transport, and combine the gate-weighted outputs. |
nodeProfile | tenzro_nodeProfile | This node's hardware self-profile from the ggml device API: build commit, CPU arch, OS, devices, and the derived serving VRAM / backend / capability key. |
deriveClusterMembership | tenzro_deriveClusterMembership | Create a cluster or change its members: derives the cluster DID from the operator DID and name, and returns the custody challenge request the operator's passkey answers and the digest each member machine accepts. |
setClusterMembership | tenzro_setClusterMembership | Submit a membership list the operator approved (through the custody challenge `challengeId`) and every member accepted. |
clusterMembers | tenzro_clusterMembers | The verified members of `clusterDid` (this node's own cluster when omitted) and the cluster's aggregated reputation record. |
client.duty()
| Method | JSON-RPC | Does |
|---|---|---|
list | tenzro_listDuties | Every open duty. |
get | tenzro_getDuty | One duty by id, or null. |
verifyEvidence | tenzro_verifyEvidence | What each evidence item proves against chain state (1 to 16 items). |
client.erc7683()
| Method | JSON-RPC | Does |
|---|---|---|
getOrder | tenzro_get7683Order | Fetch a single persisted `Tenzro7683Order` by 32-byte `order_id` (hex, with or without `0x` prefix). |
resolveOrder | tenzro_resolve7683Order | Resolve an order payload with the ERC-7683 resolver. |
listOrders | tenzro_list7683Orders | Paginated scan over the `7683_origin:` keyspace. |
getFill | tenzro_getFill7683 | The fill made on Tenzro for `orderId`. |
listFills | tenzro_listFills7683 | Fills made on Tenzro, at most `limit` (default 50). |
client.files
| Method | JSON-RPC | Does |
|---|---|---|
upload | tenzro_uploadFile | Stores `data` as a file owned by the signed-in DID. |
list | tenzro_listFiles | Lists the caller's own files, newest first. |
get | tenzro_getFile | Fetches one file's record. |
download | tenzro_downloadFile | Retrieves a file's contents, rebuilt from its shards. |
delete | tenzro_deleteFile | Unlinks a file and stops its storage deal. |
usage | tenzro_fileStorageUsage | What the caller is storing on this node, and what it bills against. |
client.funding
| Method | JSON-RPC | Does |
|---|---|---|
getGrant | tenzro_getGrant | A tranched grant, or null. |
getSponsoredSlot | tenzro_getSponsoredSlot | A sponsored-stake slot, or null. |
getCampaign | tenzro_getCampaign | A campaign and its escrow vault, or null. |
client.gateway
| Method | JSON-RPC | Does |
|---|---|---|
methods | tenzro_listRpcMethods | Every method this node serves, with how each is gated. |
supports | Whether this node serves `method`. | |
call | Call any method by name. |
client.governance
| Method | JSON-RPC | Does |
|---|---|---|
listProposals | tenzro_listProposals | Proposals newest first, optionally only one action `kind`. |
getProposal | tenzro_getProposal | One proposal and its tally, or null. |
getTreasuryAccounts | tenzro_getTreasuryAccounts | The treasury's keyless accounts on other chains and their last grants. |
getGuardianState | tenzro_getGuardianState | Every guardian and Foundation steward seat, the enactment pause, the steward treasury hold, the guardian threshold, the steward sunset and seat cap and, with an address, the seat it holds and whether it is live. |
getVotingPower | tenzro_getVotingPower | The bonded stake `address` votes with. |
getPolicy | tenzro_getPolicy | The last enacted change of a network policy `kind` (economic_policy, adaptive_burn_config, supply_targets, seed_agent_earmark, seed_agent_charter, seed_agent_status, protocol_upgrade), or null while the genesis setting stands. |
getGovernanceReceipt | tenzro_getGovernanceReceipt | A proposal's governance receipt: its records with state proofs under a certified checkpoint and that checkpoint's proof from genesis, for offline verification ({@link verifyGovernanceReceipt} under a certified state root, or `tenzro governance receipt --verify` from genesis). |
decodeAction | tenzro_decodeAction | The typed preimage a privileged transaction (an unsigned transaction object) is signed over, its digest and what it does in words. |
getUpgradeReadiness | tenzro_getUpgradeReadiness | Which validators' machines have quoted the binary `codeHash` (hex SHA-256), their share of bonded stake against the share a protocol upgrade needs, and the activation consensus scheduled last. |
getNetworkParams | tenzro_getNetworkParams | Every governed network parameter from chain state (fees, slashing rates, bonds, windows, caps): value, bounds, genesis value, the direction that tightens it, and any enacted change still waiting for its epoch. |
getNetworkParam | tenzro_getNetworkParams | One governed network parameter. |
client.identity
| Method | JSON-RPC | Does |
|---|---|---|
registerHuman | tenzro_registerIdentity | Register a new human identity. |
registerMachine | tenzro_registerIdentity | Register a new machine identity. |
resolve | tenzro_resolveIdentity | Resolve a DID to get identity information. |
resolveDidDocument | tenzro_resolveDidDocument | Resolve a DID to get the full W3C DID Document. |
didServices | tenzro_getDidServices | The service entries of a DID's document and the version of the list, from consensus state. |
listIdentities | tenzro_listIdentities | List all identities (optionally filtered by type). |
registerMachineIdentity | tenzro_registerMachineIdentity | Register a new machine identity with a name and controller. |
setUsername | tenzro_registerUsername | Set a human-readable username for a DID. |
resolveUsername | tenzro_resolveUsername | Resolve a username to its associated DID. |
joinAsMicroNode | tenzro_joinAsMicroNode | Join the Tenzro Network as a MicroNode participant. |
verifyDidEnvelope | tenzro_verifyDidEnvelope | Verify a DID-signed envelope (for example an off-chain signed result). |
erc8004SvmPendingRegistrations | tenzro_erc8004SvmPendingRegistrations | `tenzro_erc8004SvmPendingRegistrations`. |
erc8004SvmPrepareRegistration | tenzro_erc8004SvmPrepareRegistration | `tenzro_erc8004SvmPrepareRegistration`. |
get7702Delegation | tenzro_get7702Delegation | `tenzro_get7702Delegation`. |
getKyaRecord | tenzro_getKyaRecord | `tenzro_getKyaRecord`. |
issueKyaCredential | tenzro_issueKyaCredential | `tenzro_issueKyaCredential`. |
mirrorSettlement | tenzro_mirrorSettlement | `tenzro_mirrorSettlement` (operator only). |
nodeDidDocument | tenzro_nodeDidDocument | `tenzro_nodeDidDocument`. |
recordInteraction | tenzro_recordInteraction | `tenzro_recordInteraction` (operator only). |
rotateIdentityToPq | tenzro_rotateIdentityToPq | `tenzro_rotateIdentityToPq`. |
updateIdentity | tenzro_updateIdentity | `tenzro_updateIdentity`. |
verifyKyaCredential | tenzro_verifyKyaCredential | `tenzro_verifyKyaCredential`. |
verifyNodeDidDocument | tenzro_verifyNodeDidDocument | `tenzro_verifyNodeDidDocument`. |
client.inference
| Method | JSON-RPC | Does |
|---|---|---|
listModels | tenzro_listModels | List all available models on the network. |
listLoadedModels | tenzro_listModels | List every model the node holds, of every type (chat, vision, embedding, forecast, segmentation, detection, audio, video, media, speech), with its engine, visibility, access and state. |
request | tenzro_inferenceRequest | Request inference from a specific model. |
routeIntent | tenzro_routeIntent | Resolve an intent to the best model without naming one. |
recordRouteOutcome | tenzro_recordRouteOutcome | Report how a routed call turned out, so per-cluster error rates reflect what happened rather than only what the catalog declares. |
routeDifficultyStats | tenzro_routeDifficultyStats | Read the node's difficulty index: how many clusters it has discovered and how many prompts landed in each. |
chatByIntent | tenzro_chatByIntent | Resolve an intent to a model and run a chat completion through the same path a named-model request takes. |
listModelEndpoints | tenzro_listModelEndpoints | List all model service endpoints with load information. |
routerMetrics | tenzro_getRouterMetrics | Read the inference router's live metrics snapshot: total requests routed, hedges dispatched, hedges won, and requests abandoned on the whole-request deadline. |
getProvenance | tenzro_getContentProvenance | Look up the cached provenance manifest for generated content by its 32-byte hex `contentHash` (with or without `0x` prefix). |
getGeneration | tenzro_getGeneration | Read back what one finished generation consumed and cost, by the id you already hold — a `chatcmpl-…` from a chat completion, or the `request_id` of a routed inference. |
listInferenceUsage | tenzro_listInferenceUsage | Read usage. |
listTtsCatalog | tenzro_listTtsCatalog | `tenzro_listTtsCatalog`. |
modelLifecycle | tenzro_modelLifecycle | `tenzro_modelLifecycle`. |
moeDisputeReceipt | tenzro_moeDisputeReceipt | `tenzro_moeDisputeReceipt`. |
moeListReceipts | tenzro_moeListReceipts | `tenzro_moeListReceipts`. |
moePrepareStatus | tenzro_moePrepareStatus | `tenzro_moePrepareStatus`. |
moeRoute | tenzro_moeRoute | `tenzro_moeRoute`. |
prefixProbe | tenzro_prefixProbe | `tenzro_prefixProbe`. |
client.insurance()
| Method | JSON-RPC | Does |
|---|---|---|
listClaims | tenzro_listInsuranceClaims | Every paid claim. |
getClaim | tenzro_getInsuranceClaim | One paid claim, or null. |
pool | tenzro_getInsurancePoolBalance | The pool's balance, history and claim cap. |
client.iroh()
| Method | JSON-RPC | Does |
|---|---|---|
getInfo | Endpoint id, Pkarr relay, and bound ALPNs for this node. | |
getEndpointId | Just the iroh `EndpointId` (z-base-32 + 32-byte hex). | |
listAlpns | ALPNs registered on the shared iroh router. | |
publishBlob | Publish raw bytes as a `tenzro://blob/<blake3-hex>` URI. | |
fetchBlob | Fetch a `tenzro://{blob,model,receipt}/...` URI to raw bytes. | |
resolve | Alias for {@link fetchBlob} for code that thinks of the URI as a name rather than a blob handle. | |
resolveTenzroUri | tenzro_iroh_resolveTenzroUri | `tenzro_iroh_resolveTenzroUri`. |
client.lifecycle()
| Method | JSON-RPC | Does |
|---|---|---|
listKillSwitchByAgent | tenzro_listKillSwitchByAgent | List every kill-switch receipt whose target is the given agent. |
listKillSwitchByController | tenzro_listKillSwitchByController | List every kill-switch receipt authored by the given controller DID. |
getKillSwitchReceipt | tenzro_getKillSwitchReceipt | Fetch a single kill-switch receipt by its 32-byte id. |
client.machineAccess()
| Method | JSON-RPC | Does |
|---|---|---|
challenge | tenzro_createCustodyChallenge | Issue the custody challenge for `change`. |
add | tenzro_addMachineAccess | Add a grant with exactly the terms the challenge was issued for. |
list | tenzro_listMachineAccess | The grants on the node, with their use, refusal and byte counts. |
revoke | tenzro_revokeMachineAccess | Revoke a grant. |
client.mediaGen()
| Method | JSON-RPC | Does |
|---|---|---|
postJob | Queue a job. | |
cancelJob | Cancel a pending job. | |
render | tenzro_iroh_fetchBlob | Render one output now, on the node or on a provider serving the model. |
quote | tenzro_mediaGen_quote | `tenzro_mediaGen_quote`. |
client.multimodal()
| Method | JSON-RPC | Does |
|---|---|---|
listForecastCatalog | tenzro_listForecastCatalog | |
loadForecastModel | tenzro_loadForecastModel | |
unloadForecastModel | tenzro_unloadForecastModel | |
forecast | tenzro_forecast | |
listVisionCatalog | tenzro_listVisionCatalog | |
loadVisionModel | tenzro_loadVisionModel | |
unloadVisionModel | tenzro_unloadVisionModel | |
imageEmbed | tenzro_imageEmbed | Embed a single image. |
imageTextSimilarity | tenzro_imageTextSimilarity | Pure cosine similarity between two embeddings of identical dimension. |
listTextEmbeddingCatalog | tenzro_listTextEmbeddingCatalog | |
loadTextEmbeddingModel | tenzro_loadTextEmbeddingModel | |
unloadTextEmbeddingModel | tenzro_unloadTextEmbeddingModel | |
textEmbed | tenzro_textEmbed | |
listSegmentationCatalog | tenzro_listSegmentationCatalog | |
loadSegmentationModel | tenzro_loadSegmentationModel | |
unloadSegmentationModel | tenzro_unloadSegmentationModel | |
segment | tenzro_segment | Segment from clicks or boxes. |
listTextSegmentationCatalog | tenzro_listTextSegmentationCatalog | |
loadTextSegmentationModel | tenzro_loadTextSegmentationModel | |
unloadTextSegmentationModel | tenzro_unloadTextSegmentationModel | |
textSegment | tenzro_textSegment | Segment by free-text label, no click needed. |
listDetectionCatalog | tenzro_listDetectionCatalog | |
loadDetectionModel | tenzro_loadDetectionModel | |
unloadDetectionModel | tenzro_unloadDetectionModel | |
detect | tenzro_detect | |
listRerankCatalog | tenzro_listRerankCatalog | |
loadRerankModel | tenzro_loadRerankModel | |
unloadRerankModel | tenzro_unloadRerankModel | |
rerank | tenzro_rerank | Score documents against a query, best first, with the units billed and a signed receipt at the requested verification level. |
loadSpeechModel | tenzro_loadSpeechModel | |
unloadSpeechModel | tenzro_unloadSpeechModel | |
speak | tenzro_speak | Speak text: base64 WAV with its hash and length, the units billed and a signed receipt at the requested verification level. |
listAudioCatalog | tenzro_listAudioCatalog | |
loadAudioModel | tenzro_loadAudioModel | |
unloadAudioModel | tenzro_unloadAudioModel | |
transcribe | tenzro_transcribe | |
listVideoCatalog | tenzro_listVideoCatalog | The V-JEPA 2 entries the node knows about. |
loadVideoModel | tenzro_loadVideoModel | Register a clip encoder over an image encoder that `loadVisionModel` has already brought online. |
unloadVideoModel | tenzro_unloadVideoModel | |
transcribeStream | Transcribe live audio as it is captured, over the realtime transport. | |
videoEmbed | tenzro_videoEmbed |
client.node
| Method | JSON-RPC | Does |
|---|---|---|
acceptClusterMembership | tenzro_acceptClusterMembership | `tenzro_acceptClusterMembership` (operator only). |
autotuneDecisions | tenzro_autotuneDecisions | `tenzro_autotuneDecisions`. |
cleanupIdleLocalModelServices | tenzro_cleanupIdleLocalModelServices | `tenzro_cleanupIdleLocalModelServices` (operator only). |
layerPipelineStatus | tenzro_layerPipelineStatus | `tenzro_layerPipelineStatus` (operator only): this machine's part in a model served across the operator's machines. |
enrollSponsoredStake | tenzro_enrollSponsoredStake | `tenzro_enrollSponsoredStake` (operator only). |
fabricProfile | tenzro_fabricProfile | `tenzro_fabricProfile`. |
gossipStats | tenzro_gossipStats | `tenzro_gossipStats` (operator only). |
gracefulExit | tenzro_gracefulExit | `tenzro_gracefulExit` (operator only). |
listNodeAliases | tenzro_listNodeAliases | `tenzro_listNodeAliases`. |
livenessStats | tenzro_livenessStats | `tenzro_livenessStats`. |
loadMediaModel | tenzro_loadMediaModel | `tenzro_loadMediaModel` (operator only). |
memoryBudget | tenzro_memoryBudget | `tenzro_memoryBudget`. |
moeExecute | tenzro_moeExecute | `tenzro_moeExecute` (operator only). |
moeExpertLoad | tenzro_moeExpertLoad | `tenzro_moeExpertLoad` (operator only). |
moeExpertUnload | tenzro_moeExpertUnload | `tenzro_moeExpertUnload` (operator only). |
moeGateLoad | tenzro_moeGateLoad | `tenzro_moeGateLoad` (operator only). |
moeGateUnload | tenzro_moeGateUnload | `tenzro_moeGateUnload` (operator only). |
nodeAliasConsent | tenzro_nodeAliasConsent | `tenzro_nodeAliasConsent`. |
nodeVisibility | tenzro_nodeVisibility | `tenzro_nodeVisibility`. |
pinModel | tenzro_pinModel | `tenzro_pinModel` (operator only). |
produceSnapshot | tenzro_produceSnapshot | `tenzro_produceSnapshot` (operator only). |
pruneModelRegistry | tenzro_pruneModelRegistry | `tenzro_pruneModelRegistry` (operator only). |
resolveNodeAlias | tenzro_resolveNodeAlias | `tenzro_resolveNodeAlias`. |
setDraining | tenzro_setDraining | `tenzro_setDraining` (operator only). |
setNodeVisibility | tenzro_setNodeVisibility | `tenzro_setNodeVisibility` (operator only). |
shutdown | tenzro_shutdown | `tenzro_shutdown` (operator only). |
trafficStats | tenzro_trafficStats | `tenzro_trafficStats`. |
unloadMediaModel | tenzro_unloadMediaModel | `tenzro_unloadMediaModel` (operator only). |
unpinModel | tenzro_unpinModel | `tenzro_unpinModel` (operator only). |
client.passkeyRpc
| Method | JSON-RPC | Does |
|---|---|---|
enroll | tenzro_enrollPasskey | |
createCustodyChallenge | tenzro_createCustodyChallenge | Ask the node for the challenge an already-enrolled passkey must sign to authorize one custody change. |
createSession | tenzro_createPasskeySession | Create a pending browser-ceremony session (device-login flow). |
getSession | tenzro_getPasskeySession | |
revokeIdentity | tenzro_revokeIdentity | Revoke an entire identity by DID across both the auth act-chain and the TDIP registry, broadcasting the revocation to peers. |
revokeJwt | tenzro_revokeJwt | Revoke a single JWT by its `jti`, cascading to the act-chain transitive closure. |
client.payment
| Method | JSON-RPC | Does |
|---|---|---|
createChallenge | tenzro_createPaymentChallenge | Create a payment challenge for a resource (payee side). |
payChallenge | tenzro_payMpp | Pay a challenge the node issued: sign a credential for it with the payer's hardware key and settle it through `tenzro_payMpp` or `tenzro_payX402`, chosen by the challenge's protocol. |
payMpp | tenzro_payMpp | Settle a signed MPP credential (`tenzro_payMpp`), answering a challenge the node issued (`signChallengeCredential`). |
payX402 | tenzro_payX402 | Settle a signed x402 credential (`tenzro_payX402`), answering a challenge the node issued (`signChallengeCredential`). |
listSessions | tenzro_listPaymentSessions | List all payment sessions. |
consumeX402Usdc | tenzro_settle | Turn a USDC x402 payment into TNZO spent on Tenzro, as one call: check the receipt `payX402` returned, acquire TNZO through `route`, then spend it as `spend` says. |
gatewayInfo | tenzro_paymentGatewayInfo | Get payment gateway information. |
quote | tenzro_quotePayment | What `usdE6` (USD micro-units) costs in TNZO base units at the consensus rate. |
listX402Schemes | tenzro_listX402Schemes | List the x402 scheme backends registered on the connected node. |
payVisaTap | tenzro_payVisaTap | Pay via Visa TAP protocol. |
payMastercard | tenzro_payMastercard | Pay via Mastercard Agent Pay protocol. |
getSettlementPreference | tenzro_getSettlementPreference | `tenzro_getSettlementPreference`. |
getTerritoryPolicy | tenzro_getTerritoryPolicy | `tenzro_getTerritoryPolicy`. |
listPaymentProtocols | tenzro_listPaymentProtocols | `tenzro_listPaymentProtocols`. |
updatePaymentChannel | tenzro_updatePaymentChannel | `tenzro_updatePaymentChannel`. |
verifyPayment | tenzro_verifyPayment | `tenzro_verifyPayment`. |
x402VerifyOffer | tenzro_x402VerifyOffer | `tenzro_x402VerifyOffer`. |
quoteGas | tenzro_quoteGas | The price, in `asset`, of `tnzoWei` TNZO sent to `to`, as an x402 challenge. |
buyGas | tenzro_buyGas | Buy `tnzoWei` TNZO for `to`, paid in `asset`. |
setSettlementPreference | tenzro_setSettlementPreference | Set the asset `payeeDid` is paid in. |
client.permit2
| Method | JSON-RPC | Does |
|---|---|---|
verifyAndConsume | tenzro_permit2VerifyAndConsume | |
nonceUsed | tenzro_permit2NonceUsed |
client.provider
| Method | JSON-RPC | Does |
|---|---|---|
serveModel | tenzro_serveModel | Start serving a model on the network. |
stopModel | tenzro_stopModel | Stop serving a model |
deleteModel | tenzro_deleteModel | Delete a downloaded model |
chat | tenzro_chat | Chat with a loaded model |
chatWith | tenzro_chat | Send a chat completion with generation options. |
getHardwareProfile | tenzro_getHardwareProfile | Get hardware profile of the node |
setRoles | tenzro_setRole | Set this node's active roles. |
getRoles | tenzro_getRole | Get this node's active roles (normalized role-token strings). |
stats | tenzro_getProviderStats | Get provider statistics |
computeBondParams | tenzro_computeBondParams | Read the compute-bond floor and withdrawal cooldown this node enforces. |
getComputeBond | tenzro_getComputeBond | Fetch the compute bond posted against `providerDid`, or null when that provider has never posted one. |
listComputeBonds | tenzro_listComputeBonds | List every compute bond this node knows about. |
listModelEndpoints | tenzro_listModelEndpoints | List all model service endpoints with load information |
getModelLoad | Get load information for a specific model | |
listProviders | tenzro_listProviders | List all providers discovered on the Tenzro Network. |
quoteInference | tenzro_quoteInference | Price one request for `model` at every provider serving it, cheapest first, on each provider's announced rate card plus the governed surcharge for the verification level. |
joinAsMicroNode | tenzro_joinAsMicroNode | Join the network as a micro node. |
setProviderSchedule | tenzro_setProviderSchedule | Set the provider availability schedule. |
getProviderSchedule | tenzro_getProviderSchedule | Get the current provider schedule. |
getModelStacks | tenzro_getModelStacks | Get the node's model stacks: the stack serving now and until when, the next stack and when it starts, and every configured stack. |
setProviderPricing | tenzro_setProviderPricing | Set provider pricing configuration. |
getProviderPricing | tenzro_getProviderPricing | Get the current provider pricing. |
getModelEndpoint | tenzro_getModelEndpoint | Get a specific model endpoint. |
registerModelEndpoint | tenzro_registerModelEndpoint | Register a remote model endpoint. |
unregisterModelEndpoint | tenzro_unregisterModelEndpoint | Unregister a model endpoint. |
computeCommittedIndex | tenzro_computeCommittedIndex | `tenzro_computeCommittedIndex`. |
computeGetClaim | tenzro_computeGetClaim | `tenzro_computeGetClaim`. |
computeListClaims | tenzro_computeListClaims | `tenzro_computeListClaims`. |
computePriceFeed | tenzro_computePriceFeed | `tenzro_computePriceFeed`. |
getMeterBond | tenzro_getMeterBond | `tenzro_getMeterBond`. |
getProviderReputation | tenzro_getProviderReputation | `tenzro_getProviderReputation`. |
getSealedModel | tenzro_getSealedModel | `tenzro_getSealedModel`. |
installSealedModel | tenzro_installSealedModel | `tenzro_installSealedModel` (operator only). |
listProviderCapacity | tenzro_listProviderCapacity | `tenzro_listProviderCapacity`. |
listSealedModels | tenzro_listSealedModels | `tenzro_listSealedModels`. |
modelRecipientKey | tenzro_modelRecipientKey | `tenzro_modelRecipientKey`. |
redeemSealedDelivery | tenzro_redeemSealedDelivery | `tenzro_redeemSealedDelivery`. |
sealModel | tenzro_sealModel | `tenzro_sealModel` (operator only). |
client.quota()
| Method | JSON-RPC | Does |
|---|---|---|
getMempoolStats | tenzro_getMempoolStats | Returns aggregate mempool statistics across all lanes. |
getMempoolLane | tenzro_getMempoolLane | Returns the depth, fee floor, and admission stats for a single mempool lane. |
getAccountContention | tenzro_getAccountContention | Returns the hot-state contention score for a single account. |
getDaBackends | tenzro_getDaBackends | List the registered data-availability backends (EigenDA, Celestia, Avail, inline) and their current health. |
verifyDaPointer | tenzro_verifyDaPointer | Verify that the payload referenced by a `DaPointer` is currently available on its backing DA backend. |
client.reserve
| Method | JSON-RPC | Does |
|---|---|---|
submitReserveAttestation | tenzro_submitReserveAttestation | Submit a 1:1-backed reserve attestation for a tokenized asset. |
getReserve | tenzro_getReserve | Read the latest reserve attestation for a tokenized asset. |
buildReserveAttestationFromPor | tenzro_buildReserveAttestationFromPor | `tenzro_buildReserveAttestationFromPor`. |
readPorReserve | tenzro_readPorReserve | `tenzro_readPorReserve`. |
getReserveFeed | tenzro_getReserveFeed | The Proof-of-Reserve feed governance installed for an asset (`feed` is null when none is). |
client.seedAgent()
| Method | JSON-RPC | Does |
|---|---|---|
getTreasuryEarmark | tenzro_getTreasuryEarmark | Returns the singleton `TreasuryEarmark` — genesis allocation, decay schedule, master enabled flag, and surplus-burn disposition. |
getSeedAgentCharter | tenzro_getSeedAgentCharter | Fetch a single `Charter` by its identifier. |
listSeedAgentCharters | tenzro_listSeedAgentCharters | List every registered `Charter` (active and sunset). |
listSeedAgents | tenzro_listSeedAgents | List provisioned `SeedAgentRecord`s, optionally filtered by charter. |
getNetworkActivity | tenzro_getNetworkActivity | Returns network activity metrics over the requested window. |
client.settle
| Method | JSON-RPC | Does |
|---|---|---|
previewSplit | tenzro_previewSplit | The division under the node's live fee parameters. |
signPlanPayment | Pay an x402 `plan` requirement: sign the transaction opening `plan` with the payer's key, locally, and wrap it as the payment payload. | |
getNettingBatch | tenzro_getNettingBatch | An asset's netting batch (the latest when `seq` is omitted) with its state-proof key; with a participant, its collateral, defaults and, once settled, its gross-to-net statement (obligations with Merkle paths to the root). |
submitReconciliation | tenzro_submitReconciliation | Check a reconciliation of a route's settlement lock against the route's stored one. |
getReconciliation | tenzro_getReconciliation | How far a route's settlement lock is reconciled, with its state-proof key. |
listMismatches | tenzro_listMismatches | The reconciliation mismatches stored for a route's settlement lock, each with the account it cost, the loss an insurance claim can pay and its state-proof key. |
getPlan | tenzro_getPlan | |
getDecision | tenzro_getPlanDecision | |
getLegReceipt | tenzro_getLegReceipt | One leg's receipt and its recorded evidence (`ple:`): class, evidence digest, a hash-locked leg's funding txid and, once the plan commits, the preimage its recipient claims with; each with its state-proof key. |
listPlans | tenzro_listPlans |
client.settlement
| Method | JSON-RPC | Does |
|---|---|---|
settle | tenzro_settle | Settle a payment on the ledger: an `X402Settle` transaction carrying the payer's own signed authorization (`request.payment`), which names the payee and a ceiling. |
getPayment | tenzro_getPayment | One payment's consensus record (native, proven or attested), by its reference or by the payment id it settled under. |
listPayments | tenzro_listPayments | Consensus payment records in chain order, read from the event index. |
getPayeeSplit | tenzro_getPayeeSplit | The standing split rule every payment a payee receives is divided by after the fee, from consensus state: `{ rule }` in the split engine's form, `rule: null` when it set none. |
refundPayment | As the payee, return `amount` (smallest unit, in the asset it was paid in) of the native payment `payRef` (32-byte hex) to its payer, as a `Payment` transaction `signer` signs locally. | |
setPayeeSplit | As the payee, set the standing split rule every payment it receives is divided by after the fee; `null` clears it. | |
getEscrow | tenzro_getEscrow | Inspect an escrow record by its 32-byte id. |
listEscrowsByPayer | tenzro_listEscrowsByPayer | List every escrow funded by `payer`. |
listEscrowsByPayee | tenzro_listEscrowsByPayee | List every escrow held for `payee`. |
openPaymentChannel | tenzro_openPaymentChannel | Open a micropayment channel for streaming payments. |
closePaymentChannel | tenzro_closePaymentChannel | Close a micropayment channel. |
client.sla()
| Method | JSON-RPC | Does |
|---|---|---|
issueProbe | tenzro_slaIssueProbe | Issue a VRF-bound liveness probe to `providerDid`. |
listOutstandingProbes | tenzro_slaListOutstandingProbes | List every in-flight probe awaiting a response from any provider, regardless of issuer. |
getParams | tenzro_slaGetParams | Read the fault-detector parameters this validator is using. |
slaVerdict | tenzro_slaVerdict | `tenzro_slaVerdict`. |
client.snapshot()
| Method | JSON-RPC | Does |
|---|---|---|
listSnapshots | tenzro_listSnapshots | The snapshots this node holds, and the iroh endpoint it serves them from. |
getSnapshotManifest | tenzro_getSnapshotManifest | The full manifest for the snapshot at `height`. |
client.staking
| Method | JSON-RPC | Does |
|---|---|---|
roleStakes | tenzro_getRoleStakes | An account's stake per role and every role's network total; omit `address` for the node's operator payee. |
walletProvider | tenzro_getWalletProvider | Whether a staked wallet provider serves the passkey relying-party domain `rpId`. |
roleEndpoints | tenzro_listRoleEndpoints | A role's staked operators and the public URLs they published on chain, most bonded first (default role `rpc`). |
relays | tenzro_listRelays | The relays staked edge operators serve, most bonded first, with the SLA verdict validators froze for the last closed epoch and the answering node's latest check of each. |
connectivity | tenzro_getConnectivity | How the answering node is reached: directly, after hole punching, or through relays. |
client.storage
| Method | JSON-RPC | Does |
|---|---|---|
storeObject | tenzro_storageStoreObject | Stores an object: erasure-codes `data` and publishes its shards over the transport. |
setDynamicPricing | tenzro_storageSetPricing | Switches the provider to network-dynamic byte-epoch pricing seeded from the current rate. |
status | tenzro_storageStatus | Returns this node's storage-provider status (rate, object count). |
daAvailability | tenzro_daAvailability | `tenzro_daAvailability`. |
daChallenge | tenzro_daChallenge | `tenzro_daChallenge` (operator only). |
daCommittee | tenzro_daCommittee | `tenzro_daCommittee`. |
daListBlobs | tenzro_daListBlobs | `tenzro_daListBlobs`. |
daListChallenges | tenzro_daListChallenges | `tenzro_daListChallenges`. |
client.streaming
| Method | JSON-RPC | Does |
|---|---|---|
chatStream | Stream a chat completion as typed events: reasoning, content, tool-call deltas, finish and usage, in arrival order. | |
chat | Stream a chat completion, calling `onEvent` for each event, and return the assembled completion. | |
openSseConnection | Open an SSE connection to an A2A or MCP endpoint. |
client.tee
| Method | JSON-RPC | Does |
|---|---|---|
detectTee | tenzro_detectTee | Detect available TEE hardware on the node. |
getAttestation | tenzro_getTeeAttestation | Generate a TEE attestation report and its measurement registers. |
attestationChallenge | tenzro_teeAttestationChallenge | Request a single-use nonce for one attestation verification. |
verifyAttestation | tenzro_verifyTeeAttestation | Verify a TEE attestation report against a nonce this node issued. |
listTeeProviders | tenzro_listTeeProviders | List TEE providers on the network, plus this node's local TEE detection. |
client.token
| Method | JSON-RPC | Does |
|---|---|---|
getTokenInfo | tenzro_getToken | Look up a token by symbol, EVM address, or token ID. |
listTokens | tenzro_listTokens | List registered tokens with an optional VM type filter. |
canTransfer | tenzro_canTransfer | Whether the token's rules allow `from` to send `amount` to `to` now: `{allowed}` or `{allowed: false, code, reason}`. |
getContractCard | tenzro_getContractCard | A contract's card and the assurance level computed now. |
getDamlHolding | tenzro_getDamlHolding | The CIP-56 HoldingV1 view of `owner`'s balance of `tokenId`. |
getTokenBalance | tenzro_getTokenBalance |
client.transactions
| Method | JSON-RPC | Does |
|---|---|---|
send | tenzro_sendRawTransaction | Sign `tx` with `signer` and submit it; returns `tenzro_sendRawTransaction`'s answer. |
sign | Sign `tx` with `signer` without submitting it. |
client.trust
| Method | JSON-RPC | Does |
|---|---|---|
submit | tenzro_submitTrustRecord | Submits a signed credential, revocation, issuer revocation, trust list, operator policy, origin attestation, model manifest or policy violation evidence. |
verifyCredential | tenzro_verifyTrustCredential | Verifies a credential: its proof, its validity window, the issuer's status list and whether the issuer's key was revoked. |
credentials | tenzro_getTrustCredentials | Credentials about a subject: `tenzro:model:<root>`, an operator DID, or a model name with a verified manifest. |
statusList | tenzro_getStatusList | An issuer's Bitstring Status List and the revocations it was built from. |
trustList | tenzro_getTrustList | A relying party's published trust list. |
evaluate | tenzro_evaluateTrust | Applies the trust list published by `trustList` (or none, which filters nothing) to each subject. |
operatorPolicy | tenzro_getOperatorPolicy | An operator's policy in force, its history and its proven violations. |
modelProvenance | tenzro_getModelProvenance | A model's manifests, origin observations and verification status, by manifest root or by name. |
auditInferenceChallenge | tenzro_auditInferenceChallenge | `tenzro_auditInferenceChallenge`. |
buildModelManifest | tenzro_buildModelManifest | `tenzro_buildModelManifest` (operator only). |
commitChallengeVote | tenzro_commitChallengeVote | `tenzro_commitChallengeVote` (operator only). |
fileInferenceChallenge | tenzro_fileInferenceChallenge | `tenzro_fileInferenceChallenge`. |
finalizeChallenge | tenzro_finalizeChallenge | `tenzro_finalizeChallenge`. |
getAttestationLog | tenzro_getAttestationLog | `tenzro_getAttestationLog`. |
getInferenceChallenge | tenzro_getInferenceChallenge | `tenzro_getInferenceChallenge`. |
getInferenceCommitment | tenzro_getInferenceCommitment | `tenzro_getInferenceCommitment`. |
hostModel | tenzro_hostModel | `tenzro_hostModel` (operator only). |
listInferenceChallenges | tenzro_listInferenceChallenges | `tenzro_listInferenceChallenges`. |
publishTeeMeasurement | tenzro_publishTeeMeasurement | `tenzro_publishTeeMeasurement` (operator only). |
revealChallengeVote | tenzro_revealChallengeVote | `tenzro_revealChallengeVote` (operator only). |
scanModelFiles | tenzro_scanModelFiles | `tenzro_scanModelFiles` (operator only). |
signChallengeVote | tenzro_signChallengeVote | `tenzro_signChallengeVote` (operator only). |
verifyInferenceCommitment | tenzro_verifyInferenceCommitment | `tenzro_verifyInferenceCommitment`. |
verifyInferenceReceipt | tenzro_verifyInferenceReceipt | `tenzro_verifyInferenceReceipt`. |
verifyModelFiles | tenzro_verifyModelFiles | `tenzro_verifyModelFiles` (operator only). |
client.urwa
| Method | JSON-RPC | Does |
|---|---|---|
isKillSwitched | tenzro_urwaIsKillSwitched | |
getFrozenTokens | tenzro_urwaGetFrozenTokens |
client.wallet
| Method | JSON-RPC | Does |
|---|---|---|
getBalance | tenzro_getBalance | Get the native token balance (TNZO) for an address. |
getTokenBalance | tenzro_tokenBalance | Get the token balance for an address (default: TNZO). |
getNonce | tenzro_getNonce | Get the nonce for an address (for transaction ordering). |
sendSelfCustody | tenzro_sendRawTransaction | Sign a TNZO transfer with a hardware {@link HybridSigner} and submit it via `tenzro_sendRawTransaction`; the node never holds the key. |
client.zk
| Method | JSON-RPC | Does |
|---|---|---|
createProof | tenzro_createZkProof | Create a zero-knowledge proof. |
verifyProof | tenzro_verifyZkProof | Verify a zero-knowledge proof. |
listCircuits | tenzro_listCircuits | List available ZK circuits. |
attestFinalityProof | tenzro_attestFinalityProof | Bind a wrapped finality proof made on the node's machine to an attestation of its TEE. |
verifyTeeFinalityProof | tenzro_verifyTeeFinalityProof | Verify a bundle from `attestFinalityProof`; returns the verified measurement registers. |
createTeeZkProof | tenzro_createTeeZkProof | `tenzro_createTeeZkProof`. |
getZkAttestation | tenzro_getZkAttestation | `tenzro_getZkAttestation`. |
listZkCircuits | tenzro_listZkCircuits | `tenzro_listZkCircuits`. |
verifyTeeZkProof | tenzro_verifyTeeZkProof | `tenzro_verifyTeeZkProof`. |
Errors
JSON-RPC errors surface as RpcCallError in TypeScript (with code, message and data) and SdkError in Rust. The codes every method can return:
| Code | Meaning |
|---|---|
-32700 | The body is not valid JSON |
-32600 | The request is not a JSON-RPC 2.0 object |
-32601 | The node does not serve this method |
-32602 | A required parameter is missing or malformed |
-32000 | The node could not complete the call; the message says why |
Each method's entry in the JSON-RPC reference lists the further errors it can return.