-
Notifications
You must be signed in to change notification settings - Fork 37
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
Filter txtype
Parameter of listAccountHistory()
doesn´t seem to filter AccountHistory
#252
Comments
@gamsterx: Thanks for opening an issue, it is currently awaiting triage. The triage/accepted label can be added by foundation members by writing /triage accepted in a comment. DetailsI am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository. |
@gamsterx: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. If you are unsure what to do you can ignore this! You can add area labels by leaving a DetailsI am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository. |
Those characters are the custom DeFi transactions. See #108 for more info. Thanks for creating this issue, appreciate it! I will assign this to be worked on, our priority is still light wallet. But this is something valid that we need to address. /assign @jingyi2811 we need to add |
@fuxingloh , this issue was addressed and fixed in |
That RPC is for |
What happened:
I want to get a filtered list of transactions via
listAccountHistory
. I used thetxtype
options parameter which didn´t seem to have any effect.I tried different strings like
PoolSwap
orCommission
with the same unfiltered result.As this project is currently in heavy development the docs are limited at this point in time. I managed to find the following info:
@param {string} [options.txtype] Filter by transaction type, supported letter from 'CRTMNnpuslrUbBG
I have no clue what the letters suppose to mean. Can somebody explain?
An example from the tests shows a
txtype: 'M'
which in my case also didn´t filter the transactions.What you expected to happen:
I expect to get only history objects of the
txtype
Rewards
orCommission
orPoolSwap
or...
.How to reproduce it (as minimally and precisely as possible):
"@defichain/jellyfish": "^0.3.0"
The text was updated successfully, but these errors were encountered: