-
Notifications
You must be signed in to change notification settings - Fork 32
transactions/confirmed embedded option does not seem to do anything #638
Comments
Hi @Jaguar0625, I am checking the address and it seems it doesn't have any aggregate. http://explorer.symbolblockchain.io/accounts/NBHPVUIRDVMANSA2WQHTGAXEK6VJ73LOGTMQHLQ Reference script:
|
You can try this one: http://explorer.symbolblockchain.io/accounts/NDA5UHKI2TQNN52JTZ2EUKWFPH7UFZPURXGWFRA |
Currently, the address filter uses the (http response ignored) meta.addresses data from the transaction collection. It seems as the data stored there is incomplete or not enough for embedded. https://github.com/symbol/catapult-rest/blob/main/rest/src/db/CatapultDb.js#L324 The "best" way now to get all the transactions is using the signerPublicKey. Unfortunately, I cannot convert the address to a public key so I can OR the conditions together when the address is provided. Duplicated of #433 |
shouldn't the query fail in this case? |
Could you clarify? |
I mean,
you can't get those txes, so wouldn't it be natural for query to fail in this case (InvalidArguments) |
consider this query, which returns some aggregate transactions:
http://ngl-dual-001.symbolblockchain.io:3000/transactions/confirmed?address=NBHPVUIRDVMANSA2WQHTGAXEK6VJ73LOGTMQHLQ&order=asc&embedded=true
http://ngl-dual-001.symbolblockchain.io:3000/transactions/confirmed?address=NBHPVUIRDVMANSA2WQHTGAXEK6VJ73LOGTMQHLQ&order=asc&embedded=false
there is no difference what is returned when the embedded flag is true or false
The text was updated successfully, but these errors were encountered: