Zetrix Service
Zetrix API services.
A Zetrix BaaS API allows developers to interact with the underlying blockchain network and utilize its features and functionality through a standardized interface. Some common capabilities provided by a BaaS API include:
Blockchain Account Management: APIs to create, configure, and manage account API provides programmatic access on a blockchain network.
Smart Contract Deployment and Execution: APIs to deploy smart contracts to the blockchain network and invoke their functions. This includes functions for compiling, deploying, and interacting with smart contracts.
Crosschain Blockchain APIs: Typically use a set of methods to interact with smart contracts and other systems across different blockchain networks.
Transaction and Data Management: APIs for creating, signing, and submitting transactions to the blockchain network. They may also provide functionality for querying transaction status, retrieving transaction history, and managing data on the blockchain.
Verifiable Credential : APIs for managing user identities, permissions, and access controls on the blockchain network. Zetrix Verifiable Credential Certs and its API allow you to generate and digitally sign Verifiable Credentials.
The endpoints for Zetrix BaaS API for both mainnet and testnet are defined as
https://api-sandbox.zetrix.com (Zetrix Testnet)
https://api.zetrix.com (Zetrix Mainnet)
Access to BaaS services requires users to register an account on ZPlatform.
Authorization
All API requests must include both the API Gateway key and the access token:
API Gateway Key: Include in the header
X-API-Key.Access Token: Include in the header
Authorization: Bearer <access_token>.
Access Token
Authorization : Bearer <ACCESS_TOKEN>API Gateway Authentication
All requests to the Zetrix API Gateway must include the following header:
Example (curl)
Notes
The
X-API-Keyheader is required for all API Gateway requests.Requests without a valid API key will be rejected with an authorization error.
Last updated