Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions kaspa_rpc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,19 @@ class RpcScriptPublicKey(TypedDict):
script: str


class RpcCovenantBinding(TypedDict):
"""Binds a transaction output to the covenant and input authorizing its creation."""
authorizingInput: int
covenantId: str


class RpcUtxoEntry(TypedDict):
"""A UTXO entry."""
amount: int
scriptPublicKey: RpcScriptPublicKey
blockDaaScore: int
isCoinbase: bool
covenantId: str | None


class RpcUtxosByAddressesEntry(TypedDict):
Expand Down Expand Up @@ -71,6 +78,7 @@ class RpcTransactionInput(TypedDict):
signatureScript: str
sequence: int
sigOpCount: int
computeBudget: int
verboseData: RpcVerboseData | None


Expand All @@ -85,6 +93,7 @@ class RpcTransactionOutput(TypedDict):
value: int
scriptPublicKey: str
verboseData: RpcTransactionOutputVerboseData | None
covenant: RpcCovenantBinding | None


class RpcTransaction(TypedDict):
Expand Down
9 changes: 9 additions & 0 deletions python/kaspa/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5007,12 +5007,19 @@ class RpcScriptPublicKey(TypedDict):
script: str


class RpcCovenantBinding(TypedDict):
"""Binds a transaction output to the covenant and input authorizing its creation."""
authorizingInput: int
covenantId: str


class RpcUtxoEntry(TypedDict):
"""A UTXO entry."""
amount: int
scriptPublicKey: RpcScriptPublicKey
blockDaaScore: int
isCoinbase: bool
covenantId: str | None


class RpcUtxosByAddressesEntry(TypedDict):
Expand Down Expand Up @@ -5052,6 +5059,7 @@ class RpcTransactionInput(TypedDict):
signatureScript: str
sequence: int
sigOpCount: int
computeBudget: int
verboseData: RpcVerboseData | None


Expand All @@ -5066,6 +5074,7 @@ class RpcTransactionOutput(TypedDict):
value: int
scriptPublicKey: str
verboseData: RpcTransactionOutputVerboseData | None
covenant: RpcCovenantBinding | None


class RpcTransaction(TypedDict):
Expand Down
Loading