POSTGet Events by Type
https://web3.nodit.io/v1/aptos/mainnet/blockchain/getEventsByTypeRetrieves the list of events filtered by a specific event type.
Parameter to specify the target chain for the query.
Parameter to specify the network of the target chain. Supported networks may vary depending on the chain.
Parameter specifying the event type to query. Event type refers to the name of the event struct defined in the module. This field must be entered in the format module_address::module_name::event_name.
Parameter specifying the starting block for the query. You can enter one of the following formats:
- block number: Enter block number as a decimal string.
- block hash: 64-character hexadecimal (including "0x").
- block tag: Use "earliest" or "latest" to specify the first block or the most recent block.
Notes:
- This field cannot be used together with
fromDateandtoDate. - If provided without fromBlock, results are queried from genesis block to this block.
- toBlock value cannot be less than fromBlock value.
- If fromBlock and toBlock have the same value, only that block is queried.
- "earliest" for toBlock is only allowed when fromBlock is "earliest".
- If
fromBlockandtoBlockare not provided, the API queries data from the latest 30 days.
Parameter specifying the ending block for the query. You can enter one of the following formats:
- block number: Enter block number as a decimal string.
- block hash: 64-character hexadecimal (including "0x").
- block tag: Use "earliest" or "latest" to specify the first block or the most recent block.
Notes:
- This field cannot be used together with
fromDateandtoDate. - If provided without fromBlock, results are queried from genesis block to this block.
- toBlock value cannot be less than fromBlock value.
- If fromBlock and toBlock have the same value, only that block is queried.
- "earliest" for toBlock is only allowed when fromBlock is "earliest".
- If
fromBlockandtoBlockare not provided, the API queries data from the latest 30 days.
Parameter specifying the start date for the query. Date must follow ISO 8601 format (YYYY-MM-DDThh:mm:ss{time zone}) including seconds.
Notes:
- If provided without toDate, results are queried from this date to the latest block.
- fromDate value must be equal to or earlier than toDate value.
- If fromDate and toDate have the same value, only blocks from that date are queried.
- This field cannot be used together with fromBlock and toBlock.
- If
fromDateandtoDateare not provided, the API queries data from the latest 30 days.
Parameter specifying the end date for the query. Date must follow ISO 8601 format (YYYY-MM-DDThh:mm:ss{time zone}) including seconds.
Notes:
- If provided without fromDate, results are queried from genesis block to this date.
- toDate value must be equal to or later than fromDate value.
- If fromDate and toDate have the same value, only blocks from that date are queried.
- This field cannot be used together with fromBlock and toBlock.
- If
fromDateandtoDateare not provided, the API queries data from the latest 30 days.
The page parameter specifies the data page to query. It accepts values up to 100; for pages exceeding 100, use the cursor pagination method.
The page and cursor parameters cannot be used together. If both page and cursor are empty, cursor pagination is used.
rpp stands for results per page and specifies the page size. You can specify a number greater than 0 and up to 100.
The cursor parameter supports pagination and data navigation between pages. Provide the cursor value from the previous page in the next request to load the next page of data.
The page and cursor parameters cannot be used together. If both page and cursor are empty, cursor pagination is used.
Parameter specifying whether to include the count field in the response. The count field indicates the total number of requested data items. When set to true, the count field is included and response speed may be slower.
Field representing the page number specified in the page parameter. This field is only included in the response when a value greater than 0 is specified for the page parameter.
Field representing the number of results per page specified in the rpp parameter.
A field for cursor pagination. This value must be provided in the next request to load the next page of data.
Field representing the total count of requested data. This field is only included in the response when true is set for the withCount parameter.
Field representing the start of the query range in Date mode. Returned in ISO 8601 format.
Field representing the end of the query range in Date mode. Returned in ISO 8601 format.
Field representing the start block height of the query range in Block mode.
Field representing the end block height of the query range in Block mode.
Field representing the start ledger index of the query range in Ledger mode.
Field representing the end ledger index of the query range in Ledger mode.
A field that represents the hash of the transaction containing the event. A cryptographic hash computed from all transaction data, provided as a 64-character hexadecimal string prefixed with 0x. This hash enables retrieval of full information for the transaction related to the event.
예: 0x2a41cd44491bb92d4eb17d8487f82d9b43ab6289074c1986ee055be8105707c9
A field that represents the version of the transaction. A unique sequence ID indicating the order of the transaction on the chain, incrementing sequentially from 0. Used to ensure transaction execution order and to query the state of a specific transaction.
예: 2854257037
A field that represents the height of the block containing the transaction. Provided as an integer that increments sequentially from the genesis block (0). Used to identify which block the transaction was included in and to verify if the transaction has been finalized.
예: 160155267
A field that represents the block creation time. Provided as a UNIX timestamp, used for block creation order and time tracking. Block timestamps are used to ensure transaction order and measure inter-block creation intervals.
예: 1749003732416395
A field that represents the order index of the event within the transaction. Indicates the order of the current event among multiple events emitted in a single transaction. Starts at 0 and increments in event emission order; used to identify the order of events within the same transaction.
예: 0
A field that represents the type of the event. Provided as the full path (address::module::struct) of the event struct defined in the Move module. Used to identify the type of operation that caused the balance change.
예: 0x1::coin::WithdrawEvent
A field that represents the address of the resource owner that emitted the event. Provided as a 64-character hexadecimal string prefixed with 0x; identifies the owner of the resource where the event occurred. The account that owns the event handle; can be used as a filter condition when querying events.
예: 0x948592877d14d0fde0a42e2fc15a56959f30ea35d0b87c7ee8e98e0cce756f1a
A field that represents the specific data of the event. The fields of the event struct defined in eventType are provided as a JSON object. Contains the event details and may have different structures depending on the event type.
예: [object Object]
A field that represents the creation number of the event handle. A unique identifier to distinguish event handles created by an account, incrementing sequentially from 0. Used to distinguish different types of events emitted from the same account.
예: 2
A field that represents the sequence number of the event emitted from the event handle. Indicates the order of events emitted from the same event handle. Starts at 0 and increments sequentially; ensures the time order of events emitted from a specific event handle.
예: 12345
A field that represents the address of the Object when the event is for an Object resource. Provided as a 64-character hexadecimal string prefixed with 0x; the unique identifier for Object-based resources. Used to track and query events related to Object resources.
예: 0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b
A field that represents the owner address of the Object identified by objectAddress. Provided as a 64-character hexadecimal string prefixed with 0x; identifies the current owner of the Object. Used for Object ownership tracking and permission verification.
예: 0x948592877d14d0fde0a42e2fc15a56959f30ea35d0b87c7ee8e98e0cce756f1a