Event logs

Get Event Logs by Address, Block Number in Range and Topic

Returns event log by address, block number, range, and topic.

GET https://testnetapi.metadium.com/v1/event-logs?address={address}
api-key: Your API Key

Query Parameters

Parameter

Description

address

type: String

value: Address of contract

required: true

limit

type: Integer

value: Maximum number of record will retrieve (Default: 50, Max: 1000)

required: false

offset

type: Integer

value: Start retrieve record (Default: 0)

required: false

startBlock

type: String

value: Start block (Default: null)

required: false

endBlock

type: String

value: End block (Default: null)

required: false

type

type: String

value: Operation conditions (single/conbine)

required: false

topic_0

type: String

value: topic0

required: false

topic_1

type: String

value: topic_1

required: false

topic_2

type: String

value: topic_2

required: false

topic_3

type: String

value: topic_3

required: false

operand

type: String

value: Type conditions (and/or)

required: false