Skip to content

TransactionEvent module-attribute

TransactionEvent = TypedDict(
    "TransactionEvent",
    {
        "network": "capo_managedblockchain_query.types.query_network.QueryNetwork",
        "transaction_hash": "capo_managedblockchain_query.types.query_transaction_hash.QueryTransactionHash",
        "event_type": "capo_managedblockchain_query.types.query_transaction_event_type.QueryTransactionEventType",
        "from": NotRequired[
            "capo_managedblockchain_query.types.chain_address.ChainAddress"
        ],
        "to": NotRequired[
            "capo_managedblockchain_query.types.chain_address.ChainAddress"
        ],
        "value": NotRequired["str"],
        "contract_address": NotRequired[
            "capo_managedblockchain_query.types.chain_address.ChainAddress"
        ],
        "token_id": NotRequired[
            "capo_managedblockchain_query.types.query_token_id.QueryTokenId"
        ],
        "transaction_id": NotRequired["str"],
        "vout_index": NotRequired["int"],
        "vout_spent": NotRequired["bool"],
        "spent_vout_transaction_id": NotRequired["str"],
        "spent_vout_transaction_hash": NotRequired["str"],
        "spent_vout_index": NotRequired["int"],
        "blockchain_instant": NotRequired[
            "capo_managedblockchain_query.types.blockchain_instant.BlockchainInstant"
        ],
        "confirmation_status": NotRequired[
            "capo_managedblockchain_query.types.confirmation_status.ConfirmationStatus"
        ],
    },
    closed=True,
)