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 | The block at `height`, or null when the node holds none there. |
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 | The node's own report: state, roles, health, height, peers, TEE and iroh, and the DIDs it runs as. |
getStatus | ||
totalSupply | tenzro_totalSupply | |
peerCount | tenzro_peerCount | |
getNetworkStats | tenzro_getNetworkStats | Gets the network metrics snapshot. |
isSyncing | tenzro_syncing | Whether the node is behind the network tip. |
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. |
listSettlements | tenzro_listSettlements | Lists the paid calls the node served or routed, newest first: the work as the node recorded it (model, units, serving node, hardware tier, latency) and, for a ledger settlement, its fee, burn and treasury leg from the chain. |
listPeers | tenzro_listPeers | Lists this node and every peer whose signed announcement it holds. |
getProviderScorecard | tenzro_getProviderScorecard | A provider's standing on chain, its announced price cards, and its settled count, value and p50/p95 latency over 24 hours and 7 days. |
getNetworkActivity | tenzro_getNetworkActivity | Settlement activity on the chain by reward epoch, newest first. |
sponsoredInference | tenzro_sponsoredInference | A short inference a sponsoring agent pays for, on a node that offers it. |
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`. |
auditLog | tenzro_listAdminAudit | The node's administrative audit log, the most recent records the filter selects, oldest first. |
verifyAuditLog | tenzro_verifyAdminAudit | Check the audit log's chain and signed checkpoints. |
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`), its hourly rise and fall caps (`max_change_bps`, `max_fall_bps`), the safety rate safety checks value TNZO at (`safety_rate_nano_usd`), 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, organic against unattributed 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. |
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.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. |
revokeIdentity | tenzro_revokeIdentity | Revoke an identity with its root's approval (a passkey, or a machine's hardware key): a root revokes itself, a delegated agent is revoked by the controller its terms name, and a machine a root registered by that root. |
onboardAutonomousAgent | tenzro_onboardAutonomousAgent | Onboard a **fully autonomous agent**, rooted in its own secure element: `devicePublicKey` (hex) and the `machineId` of the element holding it. |
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. |
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.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`, `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. |
getOutflow | tenzro_getBridgeOutflow | The network-wide exit limits: for each unit, the cap in force per epoch (the lower of its governed cap and the stake-backed cap), the governed cap, how much has left over every route together this epoch and how much waits in the exit queue; the security ratio and its inputs (`security`); the exit delay rule; the most one proposal may raise a cap; and the last exit id queued. |
getExit | tenzro_getBridgeExit | The queued exit `id`: its sender, destination, amount and release time. |
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 | Sign a ContractDeploy transaction with `signer` and submit it. |
callContract | eth_call | Perform a read-only contract call (eth_call). |
client.crypto
| Method | JSON-RPC | Does |
|---|---|---|
verifySignature | tenzro_verifySignature | Verify a composite signature over a message against an account's P-256 key, in the signed-message context. |
verifyVrfProof | tenzro_verifyVrfProof | Verify a VRF proof; `pubkey`, `proof` and the input `alpha` are hex. |
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 |
|---|---|---|
challenge | tenzro_createCustodyChallenge | The single-use custody challenge a device change answers: `bind_device` for `(identityDid, label)`, `revoke_device` for `(identityDid, credentialId)`, `transfer_machine_ownership` for `(machineDid, newOwnerDid)`. |
bindDevice | tenzro_bindDevice | Bind a device to an identity from a WebAuthn registration made over a `bind_device` challenge for `(identity_did, label)`. |
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, answering a `transfer_machine_ownership` challenge for `(machineDid, newOwnerDid)`. |
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. |
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.funding
| Method | JSON-RPC | Does |
|---|---|---|
getGrant | tenzro_getGrant | A tranched grant, 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, 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. |
transactionEffects | tenzro_decodeAction | What `transaction` (unsigned) would do, executed by the node on a copy of its state: outcome, balance changes and logs, with a digest. |
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. |
listLevers | tenzro_listLevers | Every governance lever, optionally only those of one `area` (fees, bridge, roles, keystore, zk, consensus...): its kind, value, status, bounds and any enacted change waiting with the epoch it activates in, plus each bridge route's mode after its transport's lever. |
client.identity
| Method | JSON-RPC | Does |
|---|---|---|
registerHuman | tenzro_registerIdentity | Register a human identity bound to a passkey (`tenzro_registerIdentity` with `identity_type` `human`). |
registerMachine | tenzro_registerMachineIdentity | Register a machine identity under a controller (`tenzro_registerMachineIdentity`). |
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 | The identities this node's registry holds, with counts by kind. |
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). |
get7702Delegation | tenzro_get7702Delegation | `tenzro_get7702Delegation`. |
issueKyaCredential | tenzro_issueKyaCredential | `tenzro_issueKyaCredential` (operator only): a know-your-agent credential about `did`, signed by this node, valid for `validity_secs`. |
mirrorSettlement | tenzro_mirrorSettlement | `tenzro_mirrorSettlement` (operator only). |
nodeDidDocument | tenzro_nodeDidDocument | `tenzro_nodeDidDocument`. |
rotateIdentityToPq | tenzro_rotateIdentityToPq | Hand the authority of `did` to the hardware ML-DSA-65 key `new_pq_key` (hex). |
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 | Re-check the stored expert receipt at `key`. |
moeListReceipts | tenzro_moeListReceipts | `tenzro_moeListReceipts`. |
moePrepareStatus | tenzro_moePrepareStatus | `tenzro_moePrepareStatus`. |
moeRoute | tenzro_moeRoute | Route tokens through one layer's gate. |
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 |
|---|---|---|
listCatalog | The curated generative-media catalog: ungated, diffusers-loadable models, each carrying its default resolution, step count, frame count, VRAM floor, license tier, and — where the schedule splits — the expert pair and the timestep boundary between them. | |
render | tenzro_iroh_fetchBlob | Render one output now, on the node or on a provider serving the model. |
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. |
loadTrainingModel | tenzro_loadTrainingModel | Load a downloaded catalog language model for LoRA training on the node's CUDA device. |
unloadTrainingModel | tenzro_unloadTrainingModel | Drop a model loaded for training. |
trainRound | tenzro_trainRound | Run one supervised LoRA round: the round's commitment and roots, each step's loss, the adapter's SHA-256 and URI, `result_digest` with the machine's attestation, the units billed and the signed receipt. |
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. |
fabricProfile | tenzro_fabricProfile | `tenzro_fabricProfile`. |
gossipStats | tenzro_gossipStats | `tenzro_gossipStats` (operator only). |
gracefulExit | tenzro_gracefulExit | `tenzro_gracefulExit` (operator only). |
livenessStats | tenzro_livenessStats | `tenzro_livenessStats`. |
loadMediaModel | tenzro_loadMediaModel | `tenzro_loadMediaModel` (operator only). |
memoryBudget | tenzro_memoryBudget | `tenzro_memoryBudget`. |
moeExecute | tenzro_moeExecute | `tenzro_moeExecute` (operator only): run one expert on the given tokens. |
moeExpertLoad | tenzro_moeExpertLoad | `tenzro_moeExpertLoad` (operator only): load one expert's weights, given inline (`blob_base64`) or as a `tenzro://` blob `uri`. |
moeExpertUnload | tenzro_moeExpertUnload | `tenzro_moeExpertUnload` (operator only): `{ model_id, layer, expert, removed }`. |
moeGateLoad | tenzro_moeGateLoad | `tenzro_moeGateLoad` (operator only): load one layer's router, given inline (`blob_base64`) or as a `tenzro://` blob `uri`. |
moeGateUnload | tenzro_moeGateUnload | `tenzro_moeGateUnload` (operator only): `{ model_id, layer, removed }`. |
previewServe | tenzro_previewServe | Whether a model would fit on this node before it is served: weights, KV cache and headroom at the given quantization, context length and concurrency, with the advice to make it fit when it does not. |
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). |
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 | |
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). |
quote | tenzro_quotePayment | What `usdE6` (USD micro-units) costs in TNZO base units at the consensus rate. |
getSettlementPreference | tenzro_getSettlementPreference | `tenzro_getSettlementPreference`. |
getTerritoryPolicy | tenzro_getTerritoryPolicy | `tenzro_getTerritoryPolicy`. |
updatePaymentChannel | tenzro_updatePaymentChannel | `tenzro_updatePaymentChannel`. |
verifyPayment | tenzro_verifyPayment | Check a payment credential against its challenge without settling: whether it verifies, and the amount and account it would debit. |
setSettlementPreference | tenzro_setSettlementPreference | Set the asset `payeeDid` is paid in: `keep_inbound` (whatever arrives) or `tnzo`. |
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 |
previewServe | tenzro_previewServe | What serving `model_id` would take on this node (memory, quantization, context and concurrency), without loading it. |
modelMetadata | tenzro_modelMetadata | A catalog model's architecture and serving metadata: mixture-of-experts shape, drafter, multimodal projector and the recommended sampler. |
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. |
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 this node's price cards: a default card and per-model cards. |
getProviderPricing | tenzro_getProviderPricing | Get this node's price cards. |
getModelEndpoint | tenzro_getModelEndpoint | Get a specific model endpoint. |
registerModelEndpoint | tenzro_registerModelEndpoint | Register a remote model endpoint. |
unregisterModelEndpoint | tenzro_unregisterModelEndpoint | Unregister a model endpoint. |
computeGetClaim | tenzro_computeGetClaim | `tenzro_computeGetClaim`. |
computeListClaims | tenzro_computeListClaims | `tenzro_computeListClaims`. |
computePriceFeed | tenzro_computePriceFeed | `tenzro_computePriceFeed`. |
getMeterBond | tenzro_getMeterBond | A meter's bond by its 32-byte id (hex): owner, amount, withdrawal request time and the dispute window, or `null` when it has none. |
getSealedModel | tenzro_getSealedModel | `tenzro_getSealedModel`. |
installSealedModel | tenzro_installSealedModel | `tenzro_installSealedModel` (operator only). |
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 | The admission lane an account's transactions enter and its rate-limit bucket: lane, fee floor multiplier, capacity, refill rate and tokens left. |
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.registry
| Method | JSON-RPC | Does |
|---|---|---|
list | tenzro_listRegistry | Standing entries of `kind`, in id order, after `after`. |
get | tenzro_getRegistryEntry | An entry, the latest version or `version`. |
priceCard | tenzro_getPriceCard | The card `provider` publishes for `modelId`, with its entry. |
priceCardToPublish | tenzro_priceCardToPublish | The entry `provider` would put to publish the node's card for a model. |
tnzoUsdNano | tenzro_getFeeRate | The TNZO/USD rate, billionths of a dollar per TNZO. |
quote | What `units` cost at `provider` for `modelId`, in TNZO base units. |
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.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: a `PayerSettle` 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 payment channel over an escrow the payer already funded on the ledger with its own signed `CreateEscrow` transaction naming this node's payee. |
closePaymentChannel | tenzro_closePaymentChannel | Close a payment channel as its payer. |
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. |
retrieveObject | tenzro_storageRetrieveObject | Rebuilds an object this provider stored from its shards and returns its bytes. |
setFixedRate | tenzro_storageSetPricing | Sets the provider's fixed byte-epoch rate, in wei, what deals opened from now on pay. |
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}`. |
getTokenBalance | tenzro_getTokenBalance | An address's TNZO balance in every VM form: native and EVM wrapped TNZO in wei (18 decimals), SVM wrapped TNZO in base units (9 decimals). |
client.transactions
| Method | JSON-RPC | Does |
|---|---|---|
send | tenzro_sendRawTransaction | Sign `tx` with `signer` and submit it; returns `tenzro_sendRawTransaction`'s answer. |
sendVia | tenzro_sendRawTransaction | Sign `tx` with `signer` and submit it through `method`, which takes the params `tenzro_sendRawTransaction` takes (`tenzro_revokeIdentity` for a `RevokeIdentity` transaction). |
sign | Sign `tx` with `signer` without submitting it. | |
prepare | A dry run of `tx` sent from the account `from` (32-byte hex; `tx.from` wins when set): reads the nonce, chain id and gas price the node reports, asks the node to encode the signing payload and checks that the encoding is the transaction built here. |
client.trust
| Method | JSON-RPC | Does |
|---|---|---|
submit | tenzro_submitTrustRecord | Submits a signed credential, revocation, issuer revocation, 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. |
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 | The node's attestation log, `{ head, entries }`. |
getInferenceChallenge | tenzro_getInferenceChallenge | `tenzro_getInferenceChallenge`. |
getInferenceCommitment | tenzro_getInferenceCommitment | `tenzro_getInferenceCommitment`. |
hostModel | tenzro_hostModel | `tenzro_hostModel` (operator only): Host a model's files in this node's blob store, by manifest `root`, model `name` or local `path`. |
listInferenceChallenges | tenzro_listInferenceChallenges | `tenzro_listInferenceChallenges`. |
publishTeeMeasurement | tenzro_publishTeeMeasurement | `tenzro_publishTeeMeasurement` (operator only): publish the measurement of an attestation `report` answering the challenge `nonce` (32 bytes, hex), signed by the publisher's hardware key. |
revealChallengeVote | tenzro_revealChallengeVote | `tenzro_revealChallengeVote` (operator only). |
scanModelFiles | tenzro_scanModelFiles | `tenzro_scanModelFiles` (operator only): Scan a model's files for unsafe formats and record the result as a safety-scan claim. |
signChallengeVote | tenzro_signChallengeVote | `tenzro_signChallengeVote` (operator only). |
verifyInferenceCommitment | tenzro_verifyInferenceCommitment | `tenzro_verifyInferenceCommitment`. |
verifyInferenceReceipt | tenzro_verifyInferenceReceipt | `tenzro_verifyInferenceReceipt`. |
verifyModelFiles | tenzro_verifyModelFiles | `tenzro_verifyModelFiles` (operator only): Check a model's files against its verified manifest. |
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 | The TNZO token balance of an address, in the smallest unit, as a decimal string. |
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 | Prove a statement in every proof system the node runs (`tenzro_createZkProof`). |
verifyProof | tenzro_verifyZkProof | Verify proofs of one statement (`tenzro_verifyZkProof`). |
listCircuits | tenzro_listCircuits | The circuits the node proves and verifies, with their proof systems. |
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 | Prove a statement and bind the proof to an attestation of the node's TEE. |
getZkAttestation | tenzro_getZkAttestation | Whether a proof commitment (32-byte hex) is attested on chain. |
listZkCircuits | tenzro_listZkCircuits | The circuit catalogue as a bare list. |
verifyTeeZkProof | tenzro_verifyTeeZkProof | Verify a bundle from `createTeeZkProof`. |
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.