Archives: Docs

Docs

Fungible tokens

Login with NEARIntroduction Please see the spec for the fungible token standard and an example implementation for reference details. One notable aspect of the standard is that method names are prefixed with ft_. This will be a helpful convention when querying for transactions related to fungible tokens. Get balance Using the abstraction of the NEAR …

Fungible tokens Read More »

Implicit Accounts

Login with NEARBackground Implicit accounts work similarly to Bitcoin/Ethereum accounts. They allow you to reserve an account ID before it’s created by generating a ED25519 key-pair locally. This key-pair has a public key that maps to the account ID. The account ID is a lowercase hex representation of the public key. An ED25519 Public key …

Implicit Accounts Read More »

Integrator FAQ

Login with NEAROrientation What is a good project summary for NEAR? NEAR is a sharded, public, proof-of-stake blockchain and smart contract platform. It is built in Rust and contracts compile to WASM. It is conceptually similar to Ethereum 2.0. What’s special about NEAR? NEAR is the blockchain for builders. If you understand the basics of …

Integrator FAQ Read More »

Create Transactions

Login with NEARTo construct & process transactions you will need our API JavaScript library: near-api-js. There are many ways to create transactions but for this example we’ll show you two ways to create a simple token transfer transaction. HIGH LEVEL – easiest way to create a transaction LOW LEVEL – performs the exact same transaction …

Create Transactions Read More »

Exchange Integration

Login with NEARIntegration Reference Balance Changes Accounts Fungible Tokens Implicit Accounts Transaction Reference Links Basics Specifications Constructing Transactions Blocks and Finality Some important pieces of information regarding blocks and finality include: Expected block time is around 1s and expected time to finality is around 2s. The last final block can be queried by specifying {“finality”: …

Exchange Integration Read More »

Balance changes

Login with NEARPrerequisites NEAR Account NEAR-CLI Credentials for sender account stored locally by running near login Native NEAR (Ⓝ) Balance changes on accounts can be tracked by using our changes RPC endpoint. You can test this out by sending tokens to an account using NEAR-CLI and then viewing the changes made. Send Tokens Send tokens …

Balance changes Read More »

Accounts

Login with NEARIntroduction Please see the documentation for accounts for basic information. For exchanges, NEAR supports implicit account creation which allows the creation of accounts without paying for transactions. You can create an implicit account by following the steps in this guide. Accounts must have enough tokens to cover its storage which currently costs 0.0001 …

Accounts Read More »

Setup

Login with NEARIn order to use the RPC API you will need to setup the correct RPC endpoints. RPC Endpoint Setup POST for all methods JSON RPC 2.0 `- endpoint URL varies by network: mainnet https://rpc.mainnet.near.org testnet https://rpc.testnet.near.org betanet https://rpc.betanet.near.org (may be unstable) localnet http://localhost:3030 Limits Maximum number of requests per IP: 600 req/min Querying …

Setup Read More »

RPC Endpoints

Login with NEARThe RPC API enables you to send transactions and query their status. Send transaction Sends transaction. Returns the guaranteed execution status and the results the blockchain can provide at the moment. method: send_tx params: signed_tx_base64: SignedTransaction encoded in base64 [Optional] wait_until: the required minimal execution level. Read more here. The default value is …

RPC Endpoints Read More »

Scroll to Top