Receipt search

The SmartContract.Log() function is capable of storing C# structs, and structs are used to store information about different events occurring on the smart contract.

For example, a "TransferLog" struct could contain "From" and "To" fields and be used to log when a smart contract makes a transfer of funds from one wallet to another. The log entries are held inside the smart contract, indexed using the name of the struct, and are linked to individual transaction receipts.

Therefore, it is possible to return a smart contract's transaction receipts which match a specific event (as defined by the struct name).

GEThttps://strax.nownodes.io/api/SmartContracts/receipt-search
Query parameters
Response

Success

Request
const response = await fetch('https://strax.nownodes.io/api/SmartContracts/receipt-search', {
    method: 'GET',
    headers: {},
});
const data = await response.json();