Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for Inner Transaction Hash #68

Open
ahdgfd opened this issue Mar 5, 2019 · 0 comments
Open

Search for Inner Transaction Hash #68

ahdgfd opened this issue Mar 5, 2019 · 0 comments

Comments

@ahdgfd
Copy link

ahdgfd commented Mar 5, 2019

At a Multisig Transaction there is always an Inner Transaction Hash and an outer Transaction Hash(Multisig Hash).

With the given Code i can only search for the Outer Transaction Hash(Multisig Hash):

nem.com.requests.transaction.byHash(searchEnabledEndpoint, txHash)

How can i search for the inner Transaction Hash, it works in the Blockchain Explorer of nem. There i enter the Inner Transaction Hash and get to the same Transaction if i searched for the Multisig Hash. In the sdk i get an error "Not Found".

In the nem sdk i found the function byHash with the created options:

var options = { url: _helpers2.default.formatEndpoint(endpoint) + '/transaction/get', method: 'GET', headers: _headers2.default.urlEncoded, qs: { 'hash': txHash }

I tried to change the qs from hash to innerHash but cannt solve my Problem, How do i have to change the request to search for a innerTransaction Hash?

Kindly Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant