Security

In this page we want to tell you more about what solutions we use to ensure security at MIAREPA

Arepita Wallet APIs

The Arepita wallet leverages various APIs to provide comprehensive functionality and seamless user experiences. Below is an overview of each API and its role within the wallet system:

1. NEAR Blocks KitWallet API

Endpoint: https://api3.nearblocks.io/v1/kitwallet

Purpose: This API is designed to facilitate interactions specifically for the KitWallet, a streamlined wallet interface. It provides essential functions tailored for basic wallet operations and ensures efficient management of NEAR blockchain transactions.

Usage:

  • Retrieving wallet-specific information

  • Executing basic wallet operations like checking balances and transaction histories

2. NEAR Blocks v1 API

Endpoint: https://api.nearblocks.io/v1

Purpose: The v1 API from NEAR Blocks offers foundational access to the NEAR blockchain. It serves as the primary gateway for accessing blockchain data and executing standard operations.

Usage:

  • Fetching block and transaction data

  • Querying account details and transaction histories

  • Basic blockchain interactions and data retrieval

3. NEAR Blocks v3 API

Endpoint: https://api.nearblocks.io/v3

Purpose: The v3 API is an enhanced version providing more robust and detailed interactions with the NEAR blockchain. It includes additional endpoints and features for more advanced usage scenarios.

Usage:

  • Accessing detailed block and transaction information

  • Advanced querying capabilities for more complex data retrieval needs

  • Enhanced performance and broader data access compared to v1

4. GraphQL Hasura API

Endpoint: https://interop-mainnet.hasura.app/v1/graphql

Purpose: This GraphQL API provides a flexible and efficient way to query and manipulate data related to the NEAR blockchain. GraphQL allows for precise data requests, reducing the amount of data transferred and improving application performance.

Usage:

  • Performing complex queries on blockchain data

  • Real-time data retrieval and updates

  • Flexible data access patterns suited for dynamic front-end applications

5. FastNEAR API

Endpoint: https://api.fastnear.com/v0/public_key/${publicKey}/all

Purpose: The FastNEAR API is specialized for rapid data retrieval related to specific public keys. It aggregates data associated with a given public key, making it convenient for users to access all relevant information quickly.

Usage:

  • Fetching all relevant data linked to a specific public key

  • Providing users with comprehensive details related to their public key, such as transaction history and balances

  • Ensuring fast and efficient access to public key-related information


These APIs collectively enable the Arepita wallet to perform a wide range of functions, from basic wallet operations to advanced blockchain interactions, ensuring a robust and user-friendly experience for all users.

Last updated