Skip to content
Snippets Groups Projects
Commit 79a5cdf4 authored by Michał Kudela's avatar Michał Kudela
Browse files

Add response_schemas to transaction_status API

parent 835d811f
No related branches found
No related tags found
1 merge request!32Add response_schemas to transaction_status API
Pipeline #58132 passed
from schemas.predefined import *
find_transaction = Map({
"block_num": Int(),
"status": Str(
enum=[
"expired_reversible",
"expired_reversible",
"too_old",
"within_irreversible_block",
"within_mempool",
"within_reversible_block",
"unknown"
])
}, required_keys=["status"])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment