NearApi.RPC.Transactions (near_api v0.1.6)

NEAR RPC - Transactions API

Link to this section Summary

Functions

Sends a transaction and immediately returns transaction hash. tx - Base64 encoded transaction

Sends a transaction and immediately returns transaction hash. tx - Base64 encoded transaction

Link to this section Functions

Link to this function

send_transaction_async(tx)

Specs

send_transaction_async(tx :: String.t()) ::
  {:ok, body :: map()} | NearApi.RPC.Errors.t()

Sends a transaction and immediately returns transaction hash. tx - Base64 encoded transaction

Link to this function

send_transaction_commit(tx)

Specs

send_transaction_commit(tx :: String.t()) ::
  {:ok, body :: map()} | NearApi.RPC.Errors.t()

Sends a transaction and immediately returns transaction hash. tx - Base64 encoded transaction