Functions & Logs


Functions are essentially blocks of code that perform a specific task within a smart contract on the blockchain. These functions are typically used to automate certain actions on the blockchain. For example, a function might be used to automatically transfer cryptocurrency from one wallet to another when certain conditions are met.

Logs are a way to record information about events that occur on the blockchain. These events might include things like the creation of a new block, the execution of a smart contract function, or the transfer of cryptocurrency between two wallets. Logs are typically stored in a separate data structure within the blockchain, and can be used by developers to build more complex applications that leverage the stored data.


Functions and Logs data at Amberdata is available from multiple endpoints in different namespaces such as Addresses, Blocks and Contracts. This way, you have the choice on how to query the data depending on your use case.

API Endpoints

/addresses logs
/blocks functions
/blocks logs
/contracts functions


Our Functions and Logs endpoints found throughout the different On-Chain namespaces are available via REST API or WebSockets. The list of supported Blockchain networks can be found in the API Documentation here.

Since we maintain our own nodes, we have every event from the genesis block forward which enables us to provide complete historical datasets for most chains we support.

Frequently Asked Questions

What is included in the responses of the Functions and Logs endpoints?

  • Depending on the endpoint, you can see the name and type of the function, the hexadecimal signature, block number, gas, opcode, to/from addresses, log index, timestamp and so much more.