0

Do nodes typically allow you to query them for transactions? Is this something that is blocked by default? It seems like it would increase communication in the network, but I understand that this could weigh down nodes.

1
  • I cannot speak for 'typical' nodes, but is is an option whether you want to accept API requests from everyone or only from localhost. In the latter case, the only thing other neighbors can do is push transactions and ask to get pushed other transactions they miss. Nodes who are not listed as a neighbor cannot request anything in this case.
    – mihi
    Mar 12, 2019 at 21:08

1 Answer 1

1

IRI has a REST API. Therefore, you are able to access it via JavaScript, also from a web browser. You are probably looking for the findTransaction Endpoint. You can also query full-nodes from your host machine via your favorite programming language. Here is a list of public full-nodes. Some full-nodes are not available for the public. These nodes are not accessible from the outside on the REST API port or they have some kind of IP filter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.