Store a log record

/v3/record

2 credits per API call + additional credits based on the size of the stored data and the type of the blockchain

Store data on the blockchain.

The total cost of a transaction on Ethereum (in credits) depends on the size of the data. The data is stored as a string in the hexadecimal format, and the maximum size of the data is approximately 130 kB on the mainnet and 30 kB on testnet. Every 5 characters cost 1 credit.
Therefore, one API call with 1 kB of data (1024 characters) would cost 205 credits.

This API is supported for the following blockchains:

  • BNB Smart Chain
  • Celo
  • Elrond
  • Ethereum (only the mainnet or the Sepolia testnet)
  • Harmony
  • Klaytn
  • Polygon
  • XDC
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 130000

The data to be stored on the blockchain

string
enum
required

The blockchain to store the data on

Allowed:
string
required
length between 66 and 66

The private key of the blockchain address from which the transaction will be made and the transaction fee will be deducted

string
length between 42 and 62

(Elrond only; required) The blockchain address from which the transaction will be made
This is a mandatory parameter for Elrond. Do not use it with any other blockchain.

string
length between 42 and 42

The blockchain address to store the data on
If not provided, the data will be stored on the address from which the transaction is made.

number
≥ 0

The nonce to be set to the transaction; if not present, the last known nonce will be used

number
0 to 4

(Harmony only) The ID of the shard from which the data should be read

number
0 to 4

(Harmony only) The ID of the shard to which the data should be recorded

ethFee
object

(Ethereum only) The custom defined fee; if not present, will be calculated automatically

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json