Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 924 Bytes

README.md

File metadata and controls

37 lines (35 loc) · 924 Bytes

NEAR Indexer usage example

To run this example:

yarn
node main.js

Expected output should be simmilar to:

[
  {
    hash: 'D6b5fwt2PkMkaPGm8wvj92GhL9gmBwLDsuyKkV8cEq5t',
    signer_id: 'serhii.testnet',
    receiver_id: 'serhii.testnet',
    block_hash: 'GN26ixUhzBCxbJJLTgLAwcfnWLF7hM1KhRRRQcP27zsL',
    block_timestamp: '1637690570332',
    transaction_index: 0
  },
  {
    hash: '2y8oJLbAcTgN144sMb8XcTFvJoyGaGLFKMWqA1x4eXW4',
    signer_id: 'serhii.testnet',
    receiver_id: 'serhii.testnet',
    block_hash: '2qtH63rjZXnNmQPFhSFTMh4wy8pChAFSAbnF75JJyWRz',
    block_timestamp: '1637690560463',
    transaction_index: 0
  },
  {
    hash: '4ttXmujMuBw3iYERGvsX8Svebfe4HVVYuyvFu7Awse4z',
    signer_id: 'serhii.testnet',
    receiver_id: 'serhii.testnet',
    block_hash: 'ExnzZwXcQm2Qf9TMmJq8imEXFh8cz5o9ntxqMQ52WyYc',
    block_timestamp: '1637690104208',
    transaction_index: 2
  }
]