Add missing methods for mempool, add tx_submit_cbor and tx_evaluate_cbor accepting cbor bytes/string #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
functools.wraps
it would be helpful for type hints, annotations, docstrings, etc, if the decorators used the update_wrapper function. The purpose of this would be to help with coding experience with blockfrost-python, and would also help with code introspection. (#3)
Added missing methods
mempool
: Returns transactions that are currently stored in Blockfrost mempool, waiting to be included in a newly minted block. Shows only transactions submitted via Blockfrost.io.mempool_tx
- Returns content of the requested mempool transaction.mempool_address
- List of mempool transactions where at least one of the transaction inputs or outputs belongs to the address. Shows only transactions submitted via Blockfrost.io.transaction_submit_cbor
,transaction_evaluate_cbor
:transaction_submit
andtransaction_evaluate
which accept a file as a parametertx_cbor
as bytes or hex string streamlining the usage without the need to write a filetransaction_evaluate_utxos
:treansaction_evaluate
which accepts additional utxo set.