Functions
address_from_bcs
def address_from_bcs(bcs: bytes) -> Address
Create this type from BCS encoded bytes.
address_from_json
def address_from_json(json: str) -> Address
Create this type from JSON encoded string.
address_to_bcs
def address_to_bcs(data: Address) -> bytes
Convert this type to BCS encoded bytes.
address_to_json
def address_to_json(data: Address) -> str
Convert this type to JSON encoded string.
argument_from_bcs
def argument_from_bcs(bcs: bytes) -> Argument
Create this type from BCS encoded bytes.
argument_from_json
def argument_from_json(json: str) -> Argument
Create this type from JSON encoded string.
argument_to_bcs
def argument_to_bcs(data: Argument) -> bytes
Convert this type to BCS encoded bytes.
argument_to_json
def argument_to_json(data: Argument) -> str
Convert this type to JSON encoded string.
bls12381_public_key_from_bcs
def bls12381_public_key_from_bcs(bcs: bytes) -> Bls12381PublicKey
Create this type from BCS encoded bytes.
bls12381_public_key_from_json
def bls12381_public_key_from_json(json: str) -> Bls12381PublicKey
Create this type from JSON encoded string.
bls12381_public_key_to_bcs
def bls12381_public_key_to_bcs(data: Bls12381PublicKey) -> bytes
Convert this type to BCS encoded bytes.
bls12381_public_key_to_json
def bls12381_public_key_to_json(data: Bls12381PublicKey) -> str
Convert this type to JSON encoded string.
bls12381_signature_from_bcs
def bls12381_signature_from_bcs(bcs: bytes) -> Bls12381Signature
Create this type from BCS encoded bytes.
bls12381_signature_from_json
def bls12381_signature_from_json(json: str) -> Bls12381Signature
Create this type from JSON encoded string.
bls12381_signature_to_bcs
def bls12381_signature_to_bcs(data: Bls12381Signature) -> bytes
Convert this type to BCS encoded bytes.
bls12381_signature_to_json
def bls12381_signature_to_json(data: Bls12381Signature) -> str
Convert this type to JSON encoded string.
bool_from_bcs
def bool_from_bcs(input: bytes) -> bool
Create a bool from BCS encoded bytes.
bool_from_json
def bool_from_json(input: str) -> bool
Create a bool from JSON encoded string.
bool_to_bcs
def bool_to_bcs(input: bool) -> bytes
Convert this bool to BCS encoded bytes.
bool_to_json
def bool_to_json(input: bool) -> str
Convert this bool to JSON encoded string.
canceled_transaction_from_bcs
def canceled_transaction_from_bcs(bcs: bytes) -> CanceledTransaction
Create this type from BCS encoded bytes.
canceled_transaction_from_json
def canceled_transaction_from_json(json: str) -> CanceledTransaction
Create this type from JSON encoded string.
canceled_transaction_to_bcs
def canceled_transaction_to_bcs(data: CanceledTransaction) -> bytes
Convert this type to BCS encoded bytes.
canceled_transaction_to_json
def canceled_transaction_to_json(data: CanceledTransaction) -> str
Convert this type to JSON encoded string.
certificate_digest_from_bcs
def certificate_digest_from_bcs(bcs: bytes) -> CertificateDigest
Create this type from BCS encoded bytes.
certificate_digest_from_json
def certificate_digest_from_json(json: str) -> CertificateDigest
Create this type from JSON encoded string.
certificate_digest_to_bcs
def certificate_digest_to_bcs(data: CertificateDigest) -> bytes
Convert this type to BCS encoded bytes.
certificate_digest_to_json
def certificate_digest_to_json(data: CertificateDigest) -> str
Convert this type to JSON encoded string.
change_epoch_from_bcs
def change_epoch_from_bcs(bcs: bytes) -> ChangeEpoch
Create this type from BCS encoded bytes.
change_epoch_from_json
def change_epoch_from_json(json: str) -> ChangeEpoch
Create this type from JSON encoded string.
change_epoch_to_bcs
def change_epoch_to_bcs(data: ChangeEpoch) -> bytes
Convert this type to BCS encoded bytes.
change_epoch_to_json
def change_epoch_to_json(data: ChangeEpoch) -> str
Convert this type to JSON encoded string.
change_epoch_v2_from_bcs
def change_epoch_v2_from_bcs(bcs: bytes) -> ChangeEpochV2
Create this type from BCS encoded bytes.
change_epoch_v2_from_json
def change_epoch_v2_from_json(json: str) -> ChangeEpochV2
Create this type from JSON encoded string.
change_epoch_v2_to_bcs
def change_epoch_v2_to_bcs(data: ChangeEpochV2) -> bytes
Convert this type to BCS encoded bytes.
change_epoch_v2_to_json
def change_epoch_v2_to_json(data: ChangeEpochV2) -> str
Convert this type to JSON encoded string.
changed_object_from_bcs
def changed_object_from_bcs(bcs: bytes) -> ChangedObject
Create this type from BCS encoded bytes.
changed_object_from_json
def changed_object_from_json(json: str) -> ChangedObject
Create this type from JSON encoded string.
changed_object_to_bcs
def changed_object_to_bcs(data: ChangedObject) -> bytes
Convert this type to BCS encoded bytes.
changed_object_to_json
def changed_object_to_json(data: ChangedObject) -> str
Convert this type to JSON encoded string.
checkpoint_commitment_from_bcs
def checkpoint_commitment_from_bcs(bcs: bytes) -> CheckpointCommitment
Create this type from BCS encoded bytes.
checkpoint_commitment_from_json
def checkpoint_commitment_from_json(json: str) -> CheckpointCommitment
Create this type from JSON encoded string.
checkpoint_commitment_to_bcs
def checkpoint_commitment_to_bcs(data: CheckpointCommitment) -> bytes
Convert this type to BCS encoded bytes.
checkpoint_commitment_to_json
def checkpoint_commitment_to_json(data: CheckpointCommitment) -> str
Convert this type to JSON encoded string.
checkpoint_contents_digest_from_bcs
def checkpoint_contents_digest_from_bcs(
bcs: bytes) -> CheckpointContentsDigest
Create this type from BCS encoded bytes.
checkpoint_contents_digest_from_json
def checkpoint_contents_digest_from_json(
json: str) -> CheckpointContentsDigest
Create this type from JSON encoded string.
checkpoint_contents_digest_to_bcs
def checkpoint_contents_digest_to_bcs(data: CheckpointContentsDigest) -> bytes
Convert this type to BCS encoded bytes.
checkpoint_contents_digest_to_json
def checkpoint_contents_digest_to_json(data: CheckpointContentsDigest) -> str
Convert this type to JSON encoded string.
checkpoint_contents_from_bcs
def checkpoint_contents_from_bcs(bcs: bytes) -> CheckpointContents
Create this type from BCS encoded bytes.
checkpoint_contents_from_json
def checkpoint_contents_from_json(json: str) -> CheckpointContents
Create this type from JSON encoded string.
checkpoint_contents_to_bcs
def checkpoint_contents_to_bcs(data: CheckpointContents) -> bytes
Convert this type to BCS encoded bytes.
checkpoint_contents_to_json
def checkpoint_contents_to_json(data: CheckpointContents) -> str
Convert this type to JSON encoded string.
checkpoint_contents_v1_from_bcs
def checkpoint_contents_v1_from_bcs(bcs: bytes) -> CheckpointContentsV1
Create this type from BCS encoded bytes.
checkpoint_contents_v1_from_json
def checkpoint_contents_v1_from_json(json: str) -> CheckpointContentsV1
Create this type from JSON encoded string.
checkpoint_contents_v1_to_bcs
def checkpoint_contents_v1_to_bcs(data: CheckpointContentsV1) -> bytes
Convert this type to BCS encoded bytes.
checkpoint_contents_v1_to_json
def checkpoint_contents_v1_to_json(data: CheckpointContentsV1) -> str
Convert this type to JSON encoded string.
checkpoint_digest_from_bcs
def checkpoint_digest_from_bcs(bcs: bytes) -> CheckpointDigest
Create this type from BCS encoded bytes.
checkpoint_digest_from_json
def checkpoint_digest_from_json(json: str) -> CheckpointDigest
Create this type from JSON encoded string.
checkpoint_digest_to_bcs
def checkpoint_digest_to_bcs(data: CheckpointDigest) -> bytes
Convert this type to BCS encoded bytes.
checkpoint_digest_to_json
def checkpoint_digest_to_json(data: CheckpointDigest) -> str
Convert this type to JSON encoded string.
checkpoint_summary_from_bcs
def checkpoint_summary_from_bcs(bcs: bytes) -> CheckpointSummary
Create this type from BCS encoded bytes.
checkpoint_summary_from_json
def checkpoint_summary_from_json(json: str) -> CheckpointSummary
Create this type from JSON encoded string.
checkpoint_summary_to_bcs
def checkpoint_summary_to_bcs(data: CheckpointSummary) -> bytes
Convert this type to BCS encoded bytes.
checkpoint_summary_to_json
def checkpoint_summary_to_json(data: CheckpointSummary) -> str
Convert this type to JSON encoded string.
checkpoint_transaction_info_from_bcs
def checkpoint_transaction_info_from_bcs(
bcs: bytes) -> CheckpointTransactionInfo
Create this type from BCS encoded bytes.
checkpoint_transaction_info_from_json
def checkpoint_transaction_info_from_json(
json: str) -> CheckpointTransactionInfo
Create this type from JSON encoded string.
checkpoint_transaction_info_to_bcs
def checkpoint_transaction_info_to_bcs(
data: CheckpointTransactionInfo) -> bytes
Convert this type to BCS encoded bytes.
checkpoint_transaction_info_to_json
def checkpoint_transaction_info_to_json(
data: CheckpointTransactionInfo) -> str
Convert this type to JSON encoded string.
command_argument_error_from_bcs
def command_argument_error_from_bcs(bcs: bytes) -> CommandArgumentError
Create this type from BCS encoded bytes.
command_argument_error_from_json
def command_argument_error_from_json(json: str) -> CommandArgumentError
Create this type from JSON encoded string.
command_argument_error_to_bcs
def command_argument_error_to_bcs(data: CommandArgumentError) -> bytes
Convert this type to BCS encoded bytes.
command_argument_error_to_json
def command_argument_error_to_json(data: CommandArgumentError) -> str
Convert this type to JSON encoded string.
command_from_bcs
def command_from_bcs(bcs: bytes) -> Command
Create this type from BCS encoded bytes.
command_from_json
def command_from_json(json: str) -> Command
Create this type from JSON encoded string.
command_to_bcs
def command_to_bcs(data: Command) -> bytes
Convert this type to BCS encoded bytes.
command_to_json
def command_to_json(data: Command) -> str
Convert this type to JSON encoded string.
consensus_commit_digest_from_bcs
def consensus_commit_digest_from_bcs(bcs: bytes) -> ConsensusCommitDigest
Create this type from BCS encoded bytes.
consensus_commit_digest_from_json
def consensus_commit_digest_from_json(json: str) -> ConsensusCommitDigest
Create this type from JSON encoded string.
consensus_commit_digest_to_bcs
def consensus_commit_digest_to_bcs(data: ConsensusCommitDigest) -> bytes
Convert this type to BCS encoded bytes.
consensus_commit_digest_to_json
def consensus_commit_digest_to_json(data: ConsensusCommitDigest) -> str
Convert this type to JSON encoded string.
consensus_commit_prologue_v1_from_bcs
def consensus_commit_prologue_v1_from_bcs(
bcs: bytes) -> ConsensusCommitPrologueV1
Create this type from BCS encoded bytes.
consensus_commit_prologue_v1_from_json
def consensus_commit_prologue_v1_from_json(
json: str) -> ConsensusCommitPrologueV1
Create this type from JSON encoded string.
consensus_commit_prologue_v1_to_bcs
def consensus_commit_prologue_v1_to_bcs(
data: ConsensusCommitPrologueV1) -> bytes
Convert this type to BCS encoded bytes.
consensus_commit_prologue_v1_to_json
def consensus_commit_prologue_v1_to_json(
data: ConsensusCommitPrologueV1) -> str
Convert this type to JSON encoded string.
consensus_determined_version_assignments_from_bcs
def consensus_determined_version_assignments_from_bcs(
bcs: bytes) -> ConsensusDeterminedVersionAssignments
Create this type from BCS encoded bytes.
consensus_determined_version_assignments_from_json
def consensus_determined_version_assignments_from_json(
json: str) -> ConsensusDeterminedVersionAssignments
Create this type from JSON encoded string.
consensus_determined_version_assignments_to_bcs
def consensus_determined_version_assignments_to_bcs(
data: ConsensusDeterminedVersionAssignments) -> bytes
Convert this type to BCS encoded bytes.
consensus_determined_version_assignments_to_json
def consensus_determined_version_assignments_to_json(
data: ConsensusDeterminedVersionAssignments) -> str
Convert this type to JSON encoded string.
deny_rule_set_from_bcs
def deny_rule_set_from_bcs(bcs: bytes) -> DenyRuleSet
Create this type from BCS encoded bytes.
deny_rule_set_from_json
def deny_rule_set_from_json(json: str) -> DenyRuleSet
Create this type from JSON encoded string.
deny_rule_set_to_bcs
def deny_rule_set_to_bcs(data: DenyRuleSet) -> bytes
Convert this type to BCS encoded bytes.
deny_rule_set_to_json
def deny_rule_set_to_json(data: DenyRuleSet) -> str
Convert this type to JSON encoded string.
digest_from_bcs
def digest_from_bcs(bcs: bytes) -> Digest
Create this type from BCS encoded bytes.
digest_from_json
def digest_from_json(json: str) -> Digest
Create this type from JSON encoded string.
digest_to_bcs
def digest_to_bcs(data: Digest) -> bytes
Convert this type to BCS encoded bytes.
digest_to_json
def digest_to_json(data: Digest) -> str
Convert this type to JSON encoded string.
ed25519_public_key_from_bcs
def ed25519_public_key_from_bcs(bcs: bytes) -> Ed25519PublicKey
Create this type from BCS encoded bytes.
ed25519_public_key_from_json
def ed25519_public_key_from_json(json: str) -> Ed25519PublicKey
Create this type from JSON encoded string.
ed25519_public_key_to_bcs
def ed25519_public_key_to_bcs(data: Ed25519PublicKey) -> bytes
Convert this type to BCS encoded bytes.
ed25519_public_key_to_json
def ed25519_public_key_to_json(data: Ed25519PublicKey) -> str
Convert this type to JSON encoded string.
ed25519_signature_from_bcs
def ed25519_signature_from_bcs(bcs: bytes) -> Ed25519Signature
Create this type from BCS encoded bytes.
ed25519_signature_from_json
def ed25519_signature_from_json(json: str) -> Ed25519Signature
Create this type from JSON encoded string.
ed25519_signature_to_bcs
def ed25519_signature_to_bcs(data: Ed25519Signature) -> bytes
Convert this type to BCS encoded bytes.
ed25519_signature_to_json
def ed25519_signature_to_json(data: Ed25519Signature) -> str
Convert this type to JSON encoded string.
effects_aux_data_digest_from_bcs
def effects_aux_data_digest_from_bcs(bcs: bytes) -> EffectsAuxDataDigest
Create this type from BCS encoded bytes.
effects_aux_data_digest_from_json
def effects_aux_data_digest_from_json(json: str) -> EffectsAuxDataDigest
Create this type from JSON encoded string.
effects_aux_data_digest_to_bcs
def effects_aux_data_digest_to_bcs(data: EffectsAuxDataDigest) -> bytes
Convert this type to BCS encoded bytes.
effects_aux_data_digest_to_json
def effects_aux_data_digest_to_json(data: EffectsAuxDataDigest) -> str
Convert this type to JSON encoded string.
end_of_epoch_data_from_bcs
def end_of_epoch_data_from_bcs(bcs: bytes) -> EndOfEpochData
Create this type from BCS encoded bytes.
end_of_epoch_data_from_json
def end_of_epoch_data_from_json(json: str) -> EndOfEpochData
Create this type from JSON encoded string.
end_of_epoch_data_to_bcs
def end_of_epoch_data_to_bcs(data: EndOfEpochData) -> bytes
Convert this type to BCS encoded bytes.
end_of_epoch_data_to_json
def end_of_epoch_data_to_json(data: EndOfEpochData) -> str
Convert this type to JSON encoded string.
event_from_bcs
def event_from_bcs(bcs: bytes) -> Event
Create an [Event] from BCS encoded bytes.
event_from_json
def event_from_json(json: str) -> Event
Create an [Event] from a JSON encoded string.
event_to_bcs
def event_to_bcs(data: Event) -> bytes
Convert an [Event] to BCS encoded bytes.
event_to_json
def event_to_json(data: Event) -> str
Convert an [Event] to a JSON encoded string.
execution_error_from_bcs
def execution_error_from_bcs(bcs: bytes) -> ExecutionError
Create this type from BCS encoded bytes.
execution_error_from_json
def execution_error_from_json(json: str) -> ExecutionError
Create this type from JSON encoded string.
execution_error_to_bcs
def execution_error_to_bcs(data: ExecutionError) -> bytes
Convert this type to BCS encoded bytes.
execution_error_to_json
def execution_error_to_json(data: ExecutionError) -> str
Convert this type to JSON encoded string.
execution_status_from_bcs
def execution_status_from_bcs(bcs: bytes) -> ExecutionStatus
Create this type from BCS encoded bytes.
execution_status_from_json
def execution_status_from_json(json: str) -> ExecutionStatus
Create this type from JSON encoded string.
execution_status_to_bcs
def execution_status_to_bcs(data: ExecutionStatus) -> bytes
Convert this type to BCS encoded bytes.
execution_status_to_json
def execution_status_to_json(data: ExecutionStatus) -> str
Convert this type to JSON encoded string.
gas_cost_summary_from_bcs
def gas_cost_summary_from_bcs(bcs: bytes) -> GasCostSummary
Create this type from BCS encoded bytes.
gas_cost_summary_from_json
def gas_cost_summary_from_json(json: str) -> GasCostSummary
Create this type from JSON encoded string.
gas_cost_summary_to_bcs
def gas_cost_summary_to_bcs(data: GasCostSummary) -> bytes
Convert this type to BCS encoded bytes.
gas_cost_summary_to_json
def gas_cost_summary_to_json(data: GasCostSummary) -> str
Convert this type to JSON encoded string.
gas_payment_from_bcs
def gas_payment_from_bcs(bcs: bytes) -> GasPayment
Create this type from BCS encoded bytes.
gas_payment_from_json
def gas_payment_from_json(json: str) -> GasPayment
Create this type from JSON encoded string.
gas_payment_to_bcs
def gas_payment_to_bcs(data: GasPayment) -> bytes
Convert this type to BCS encoded bytes.
gas_payment_to_json
def gas_payment_to_json(data: GasPayment) -> str
Convert this type to JSON encoded string.
generate_mnemonic
def generate_mnemonic(word_count: typing.Optional[MnemonicLength]) -> str
Generate a new BIP-39 mnemonic in English. Supported word counts are 12 and 24 (default).
genesis_object_from_bcs
def genesis_object_from_bcs(bcs: bytes) -> GenesisObject
Create this type from BCS encoded bytes.
genesis_object_from_json
def genesis_object_from_json(json: str) -> GenesisObject
Create this type from JSON encoded string.
genesis_object_to_bcs
def genesis_object_to_bcs(data: GenesisObject) -> bytes
Convert this type to BCS encoded bytes.
genesis_object_to_json
def genesis_object_to_json(data: GenesisObject) -> str
Convert this type to JSON encoded string.
genesis_transaction_from_bcs
def genesis_transaction_from_bcs(bcs: bytes) -> GenesisTransaction
Create this type from BCS encoded bytes.
genesis_transaction_from_json
def genesis_transaction_from_json(json: str) -> GenesisTransaction
Create this type from JSON encoded string.
genesis_transaction_to_bcs
def genesis_transaction_to_bcs(data: GenesisTransaction) -> bytes
Convert this type to BCS encoded bytes.
genesis_transaction_to_json
def genesis_transaction_to_json(data: GenesisTransaction) -> str
Convert this type to JSON encoded string.
i16_from_bcs
def i16_from_bcs(input: bytes) -> int
Create a i16 from BCS encoded bytes.
i16_from_json
def i16_from_json(input: str) -> int
Create a i16 from JSON encoded string.
i16_to_bcs
def i16_to_bcs(input: int) -> bytes
Convert this i16 to BCS encoded bytes.
i16_to_json
def i16_to_json(input: int) -> str
Convert this i16 to JSON encoded string.
i32_from_bcs
def i32_from_bcs(input: bytes) -> int
Create a i32 from BCS encoded bytes.
i32_from_json
def i32_from_json(input: str) -> int
Create a i32 from JSON encoded string.
i32_to_bcs
def i32_to_bcs(input: int) -> bytes
Convert this i32 to BCS encoded bytes.
i32_to_json
def i32_to_json(input: int) -> str
Convert this i32 to JSON encoded string.
i64_from_bcs
def i64_from_bcs(input: bytes) -> int
Create a i64 from BCS encoded bytes.
i64_from_json
def i64_from_json(input: str) -> int
Create a i64 from JSON encoded string.
i64_to_bcs
def i64_to_bcs(input: int) -> bytes
Convert this i64 to BCS encoded bytes.
i64_to_json
def i64_to_json(input: int) -> str
Convert this i64 to JSON encoded string.
i8_from_bcs
def i8_from_bcs(input: bytes) -> int
Create a i8 from BCS encoded bytes.
i8_from_json
def i8_from_json(input: str) -> int
Create a i8 from JSON encoded string.
i8_to_bcs
def i8_to_bcs(input: int) -> bytes
Convert this i8 to BCS encoded bytes.
i8_to_json
def i8_to_json(input: int) -> str
Convert this i8 to JSON encoded string.
id_operation_from_bcs
def id_operation_from_bcs(bcs: bytes) -> IdOperation
Create this type from BCS encoded bytes.
id_operation_from_json
def id_operation_from_json(json: str) -> IdOperation
Create this type from JSON encoded string.
id_operation_to_bcs
def id_operation_to_bcs(data: IdOperation) -> bytes
Convert this type to BCS encoded bytes.
id_operation_to_json
def id_operation_to_json(data: IdOperation) -> str
Convert this type to JSON encoded string.
identifier_from_bcs
def identifier_from_bcs(bcs: bytes) -> Identifier
Create this type from BCS encoded bytes.
identifier_from_json
def identifier_from_json(json: str) -> Identifier
Create this type from JSON encoded string.
identifier_to_bcs
def identifier_to_bcs(data: Identifier) -> bytes
Convert this type to BCS encoded bytes.
identifier_to_json
def identifier_to_json(data: Identifier) -> str
Convert this type to JSON encoded string.
input_from_bcs
def input_from_bcs(bcs: bytes) -> Input
Create this type from BCS encoded bytes.
input_from_json
def input_from_json(json: str) -> Input
Create this type from JSON encoded string.
input_to_bcs
def input_to_bcs(data: Input) -> bytes
Convert this type to BCS encoded bytes.
input_to_json
def input_to_json(data: Input) -> str
Convert this type to JSON encoded string.
make_move_vector_from_bcs
def make_move_vector_from_bcs(bcs: bytes) -> MakeMoveVector
Create this type from BCS encoded bytes.
make_move_vector_from_json
def make_move_vector_from_json(json: str) -> MakeMoveVector
Create this type from JSON encoded string.
make_move_vector_to_bcs
def make_move_vector_to_bcs(data: MakeMoveVector) -> bytes
Convert this type to BCS encoded bytes.
make_move_vector_to_json
def make_move_vector_to_json(data: MakeMoveVector) -> str
Convert this type to JSON encoded string.
merge_coins_from_bcs
def merge_coins_from_bcs(bcs: bytes) -> MergeCoins
Create this type from BCS encoded bytes.
merge_coins_from_json
def merge_coins_from_json(json: str) -> MergeCoins
Create this type from JSON encoded string.
merge_coins_to_bcs
def merge_coins_to_bcs(data: MergeCoins) -> bytes
Convert this type to BCS encoded bytes.
merge_coins_to_json
def merge_coins_to_json(data: MergeCoins) -> str
Convert this type to JSON encoded string.
misbehavior_report_digest_from_bcs
def misbehavior_report_digest_from_bcs(bcs: bytes) -> MisbehaviorReportDigest
Create this type from BCS encoded bytes.
misbehavior_report_digest_from_json
def misbehavior_report_digest_from_json(json: str) -> MisbehaviorReportDigest
Create this type from JSON encoded string.
misbehavior_report_digest_to_bcs
def misbehavior_report_digest_to_bcs(data: MisbehaviorReportDigest) -> bytes
Convert this type to BCS encoded bytes.
misbehavior_report_digest_to_json
def misbehavior_report_digest_to_json(data: MisbehaviorReportDigest) -> str
Convert this type to JSON encoded string.
move_authenticator_digest_from_bcs
def move_authenticator_digest_from_bcs(bcs: bytes) -> MoveAuthenticatorDigest
Create this type from BCS encoded bytes.
move_authenticator_digest_from_json
def move_authenticator_digest_from_json(json: str) -> MoveAuthenticatorDigest
Create this type from JSON encoded string.
move_authenticator_digest_to_bcs
def move_authenticator_digest_to_bcs(data: MoveAuthenticatorDigest) -> bytes
Convert this type to BCS encoded bytes.
move_authenticator_digest_to_json
def move_authenticator_digest_to_json(data: MoveAuthenticatorDigest) -> str
Convert this type to JSON encoded string.
move_call_from_bcs
def move_call_from_bcs(bcs: bytes) -> MoveCall
Create this type from BCS encoded bytes.
move_call_from_json
def move_call_from_json(json: str) -> MoveCall
Create this type from JSON encoded string.
move_call_to_bcs
def move_call_to_bcs(data: MoveCall) -> bytes
Convert this type to BCS encoded bytes.
move_call_to_json
def move_call_to_json(data: MoveCall) -> str
Convert this type to JSON encoded string.
move_location_from_bcs
def move_location_from_bcs(bcs: bytes) -> MoveLocation
Create this type from BCS encoded bytes.
move_location_from_json
def move_location_from_json(json: str) -> MoveLocation
Create this type from JSON encoded string.
move_location_to_bcs
def move_location_to_bcs(data: MoveLocation) -> bytes
Convert this type to BCS encoded bytes.
move_location_to_json
def move_location_to_json(data: MoveLocation) -> str
Convert this type to JSON encoded string.
move_package_from_bcs
def move_package_from_bcs(bcs: bytes) -> MovePackage
Create this type from BCS encoded bytes.
move_package_from_json
def move_package_from_json(json: str) -> MovePackage
Create this type from JSON encoded string.
move_package_to_bcs
def move_package_to_bcs(data: MovePackage) -> bytes
Convert this type to BCS encoded bytes.
move_package_to_json
def move_package_to_json(data: MovePackage) -> str
Convert this type to JSON encoded string.
move_struct_from_bcs
def move_struct_from_bcs(bcs: bytes) -> MoveStruct
Create this type from BCS encoded bytes.
move_struct_from_json
def move_struct_from_json(json: str) -> MoveStruct
Create this type from JSON encoded string.
move_struct_to_bcs
def move_struct_to_bcs(data: MoveStruct) -> bytes
Convert this type to BCS encoded bytes.
move_struct_to_json
def move_struct_to_json(data: MoveStruct) -> str
Convert this type to JSON encoded string.
multisig_aggregated_signature_from_bcs
def multisig_aggregated_signature_from_bcs(
bcs: bytes) -> MultisigAggregatedSignature
Create this type from BCS encoded bytes.
multisig_aggregated_signature_from_json
def multisig_aggregated_signature_from_json(
json: str) -> MultisigAggregatedSignature
Create this type from JSON encoded string.
multisig_aggregated_signature_to_bcs
def multisig_aggregated_signature_to_bcs(
data: MultisigAggregatedSignature) -> bytes
Convert this type to BCS encoded bytes.
multisig_aggregated_signature_to_json
def multisig_aggregated_signature_to_json(
data: MultisigAggregatedSignature) -> str
Convert this type to JSON encoded string.
multisig_committee_from_bcs
def multisig_committee_from_bcs(bcs: bytes) -> MultisigCommittee
Create this type from BCS encoded bytes.
multisig_committee_from_json
def multisig_committee_from_json(json: str) -> MultisigCommittee
Create this type from JSON encoded string.
multisig_committee_to_bcs
def multisig_committee_to_bcs(data: MultisigCommittee) -> bytes
Convert this type to BCS encoded bytes.
multisig_committee_to_json
def multisig_committee_to_json(data: MultisigCommittee) -> str
Convert this type to JSON encoded string.
multisig_member_from_bcs
def multisig_member_from_bcs(bcs: bytes) -> MultisigMember
Create this type from BCS encoded bytes.
multisig_member_from_json
def multisig_member_from_json(json: str) -> MultisigMember
Create this type from JSON encoded string.
multisig_member_signature_from_bcs
def multisig_member_signature_from_bcs(bcs: bytes) -> MultisigMemberSignature
Create this type from BCS encoded bytes.
multisig_member_signature_from_json
def multisig_member_signature_from_json(json: str) -> MultisigMemberSignature
Create this type from JSON encoded string.
multisig_member_signature_to_bcs
def multisig_member_signature_to_bcs(data: MultisigMemberSignature) -> bytes
Convert this type to BCS encoded bytes.
multisig_member_signature_to_json
def multisig_member_signature_to_json(data: MultisigMemberSignature) -> str
Convert this type to JSON encoded string.
multisig_member_to_bcs
def multisig_member_to_bcs(data: MultisigMember) -> bytes
Convert this type to BCS encoded bytes.
multisig_member_to_json
def multisig_member_to_json(data: MultisigMember) -> str
Convert this type to JSON encoded string.
object_data_from_bcs
def object_data_from_bcs(bcs: bytes) -> ObjectData
Create this type from BCS encoded bytes.
object_data_from_json
def object_data_from_json(json: str) -> ObjectData
Create this type from JSON encoded string.
object_data_to_bcs
def object_data_to_bcs(data: ObjectData) -> bytes
Convert this type to BCS encoded bytes.
object_data_to_json
def object_data_to_json(data: ObjectData) -> str
Convert this type to JSON encoded string.
object_digest_from_bcs
def object_digest_from_bcs(bcs: bytes) -> ObjectDigest
Create this type from BCS encoded bytes.
object_digest_from_json
def object_digest_from_json(json: str) -> ObjectDigest
Create this type from JSON encoded string.
object_digest_to_bcs
def object_digest_to_bcs(data: ObjectDigest) -> bytes
Convert this type to BCS encoded bytes.
object_digest_to_json
def object_digest_to_json(data: ObjectDigest) -> str
Convert this type to JSON encoded string.
object_from_bcs
def object_from_bcs(bcs: bytes) -> Object
Create this type from BCS encoded bytes.
object_from_json
def object_from_json(json: str) -> Object
Create this type from JSON encoded string.
object_id_from_bcs
def object_id_from_bcs(bcs: bytes) -> ObjectId
Create this type from BCS encoded bytes.
object_id_from_json
def object_id_from_json(json: str) -> ObjectId
Create this type from JSON encoded string.
object_id_to_bcs
def object_id_to_bcs(data: ObjectId) -> bytes
Convert this type to BCS encoded bytes.
object_id_to_json
def object_id_to_json(data: ObjectId) -> str
Convert this type to JSON encoded string.
object_in_from_bcs
def object_in_from_bcs(bcs: bytes) -> ObjectIn
Create this type from BCS encoded bytes.
object_in_from_json
def object_in_from_json(json: str) -> ObjectIn
Create this type from JSON encoded string.
object_in_to_bcs
def object_in_to_bcs(data: ObjectIn) -> bytes
Convert this type to BCS encoded bytes.
object_in_to_json
def object_in_to_json(data: ObjectIn) -> str
Convert this type to JSON encoded string.
object_out_from_bcs
def object_out_from_bcs(bcs: bytes) -> ObjectOut
Create this type from BCS encoded bytes.
object_out_from_json
def object_out_from_json(json: str) -> ObjectOut
Create this type from JSON encoded string.
object_out_to_bcs
def object_out_to_bcs(data: ObjectOut) -> bytes
Convert this type to BCS encoded bytes.
object_out_to_json
def object_out_to_json(data: ObjectOut) -> str
Convert this type to JSON encoded string.
object_reference_from_bcs
def object_reference_from_bcs(bcs: bytes) -> ObjectReference
Create this type from BCS encoded bytes.
object_reference_from_json
def object_reference_from_json(json: str) -> ObjectReference
Create this type from JSON encoded string.
object_reference_to_bcs
def object_reference_to_bcs(data: ObjectReference) -> bytes
Convert this type to BCS encoded bytes.
object_reference_to_json
def object_reference_to_json(data: ObjectReference) -> str
Convert this type to JSON encoded string.
object_to_bcs
def object_to_bcs(data: Object) -> bytes
Convert this type to BCS encoded bytes.
object_to_json
def object_to_json(data: Object) -> str
Convert this type to JSON encoded string.
owner_from_bcs
def owner_from_bcs(bcs: bytes) -> Owner
Create this type from BCS encoded bytes.
owner_from_json
def owner_from_json(json: str) -> Owner
Create this type from JSON encoded string.
owner_to_bcs
def owner_to_bcs(data: Owner) -> bytes
Convert this type to BCS encoded bytes.
owner_to_json
def owner_to_json(data: Owner) -> str
Convert this type to JSON encoded string.
package_upgrade_error_from_bcs
def package_upgrade_error_from_bcs(bcs: bytes) -> PackageUpgradeError
Create this type from BCS encoded bytes.
package_upgrade_error_from_json
def package_upgrade_error_from_json(json: str) -> PackageUpgradeError
Create this type from JSON encoded string.
package_upgrade_error_to_bcs
def package_upgrade_error_to_bcs(data: PackageUpgradeError) -> bytes
Convert this type to BCS encoded bytes.
package_upgrade_error_to_json
def package_upgrade_error_to_json(data: PackageUpgradeError) -> str
Convert this type to JSON encoded string.
passkey_authenticator_from_bcs
def passkey_authenticator_from_bcs(bcs: bytes) -> PasskeyAuthenticator
Create this type from BCS encoded bytes.
passkey_authenticator_from_json
def passkey_authenticator_from_json(json: str) -> PasskeyAuthenticator
Create this type from JSON encoded string.
passkey_authenticator_to_bcs
def passkey_authenticator_to_bcs(data: PasskeyAuthenticator) -> bytes
Convert this type to BCS encoded bytes.
passkey_authenticator_to_json
def passkey_authenticator_to_json(data: PasskeyAuthenticator) -> str
Convert this type to JSON encoded string.
programmable_transaction_from_bcs
def programmable_transaction_from_bcs(bcs: bytes) -> ProgrammableTransaction
Create this type from BCS encoded bytes.
programmable_transaction_from_json
def programmable_transaction_from_json(json: str) -> ProgrammableTransaction
Create this type from JSON encoded string.
programmable_transaction_to_bcs
def programmable_transaction_to_bcs(data: ProgrammableTransaction) -> bytes
Convert this type to BCS encoded bytes.
programmable_transaction_to_json
def programmable_transaction_to_json(data: ProgrammableTransaction) -> str
Convert this type to JSON encoded string.
public_key_from_bcs
def public_key_from_bcs(bcs: bytes) -> PublicKey
Create this type from BCS encoded bytes.
public_key_from_json
def public_key_from_json(json: str) -> PublicKey
Create this type from JSON encoded string.
public_key_to_bcs
def public_key_to_bcs(data: PublicKey) -> bytes
Convert this type to BCS encoded bytes.
public_key_to_json
def public_key_to_json(data: PublicKey) -> str
Convert this type to JSON encoded string.
publish_from_bcs
def publish_from_bcs(bcs: bytes) -> Publish
Create this type from BCS encoded bytes.
publish_from_json
def publish_from_json(json: str) -> Publish
Create this type from JSON encoded string.
publish_to_bcs
def publish_to_bcs(data: Publish) -> bytes
Convert this type to BCS encoded bytes.
publish_to_json
def publish_to_json(data: Publish) -> str
Convert this type to JSON encoded string.
randomness_state_update_from_bcs
def randomness_state_update_from_bcs(bcs: bytes) -> RandomnessStateUpdate
Create this type from BCS encoded bytes.
randomness_state_update_from_json
def randomness_state_update_from_json(json: str) -> RandomnessStateUpdate
Create this type from JSON encoded string.
randomness_state_update_to_bcs
def randomness_state_update_to_bcs(data: RandomnessStateUpdate) -> bytes
Convert this type to BCS encoded bytes.
randomness_state_update_to_json
def randomness_state_update_to_json(data: RandomnessStateUpdate) -> str
Convert this type to JSON encoded string.
secp256k1_public_key_from_bcs
def secp256k1_public_key_from_bcs(bcs: bytes) -> Secp256k1PublicKey
Create this type from BCS encoded bytes.
secp256k1_public_key_from_json
def secp256k1_public_key_from_json(json: str) -> Secp256k1PublicKey
Create this type from JSON encoded string.
secp256k1_public_key_to_bcs
def secp256k1_public_key_to_bcs(data: Secp256k1PublicKey) -> bytes
Convert this type to BCS encoded bytes.
secp256k1_public_key_to_json
def secp256k1_public_key_to_json(data: Secp256k1PublicKey) -> str
Convert this type to JSON encoded string.
secp256k1_signature_from_bcs
def secp256k1_signature_from_bcs(bcs: bytes) -> Secp256k1Signature
Create this type from BCS encoded bytes.
secp256k1_signature_from_json
def secp256k1_signature_from_json(json: str) -> Secp256k1Signature
Create this type from JSON encoded string.
secp256k1_signature_to_bcs
def secp256k1_signature_to_bcs(data: Secp256k1Signature) -> bytes
Convert this type to BCS encoded bytes.
secp256k1_signature_to_json
def secp256k1_signature_to_json(data: Secp256k1Signature) -> str
Convert this type to JSON encoded string.
secp256r1_public_key_from_bcs
def secp256r1_public_key_from_bcs(bcs: bytes) -> Secp256r1PublicKey
Create this type from BCS encoded bytes.
secp256r1_public_key_from_json
def secp256r1_public_key_from_json(json: str) -> Secp256r1PublicKey
Create this type from JSON encoded string.
secp256r1_public_key_to_bcs
def secp256r1_public_key_to_bcs(data: Secp256r1PublicKey) -> bytes
Convert this type to BCS encoded bytes.
secp256r1_public_key_to_json
def secp256r1_public_key_to_json(data: Secp256r1PublicKey) -> str
Convert this type to JSON encoded string.
secp256r1_signature_from_bcs
def secp256r1_signature_from_bcs(bcs: bytes) -> Secp256r1Signature
Create this type from BCS encoded bytes.
secp256r1_signature_from_json
def secp256r1_signature_from_json(json: str) -> Secp256r1Signature
Create this type from JSON encoded string.
secp256r1_signature_to_bcs
def secp256r1_signature_to_bcs(data: Secp256r1Signature) -> bytes
Convert this type to BCS encoded bytes.
secp256r1_signature_to_json
def secp256r1_signature_to_json(data: Secp256r1Signature) -> str
Convert this type to JSON encoded string.
sender_signed_data_digest_from_bcs
def sender_signed_data_digest_from_bcs(bcs: bytes) -> SenderSignedDataDigest
Create this type from BCS encoded bytes.
sender_signed_data_digest_from_json
def sender_signed_data_digest_from_json(json: str) -> SenderSignedDataDigest
Create this type from JSON encoded string.
sender_signed_data_digest_to_bcs
def sender_signed_data_digest_to_bcs(data: SenderSignedDataDigest) -> bytes
Convert this type to BCS encoded bytes.
sender_signed_data_digest_to_json
def sender_signed_data_digest_to_json(data: SenderSignedDataDigest) -> str
Convert this type to JSON encoded string.
signed_transaction_from_bcs
def signed_transaction_from_bcs(bcs: bytes) -> SignedTransaction
Create this type from BCS encoded bytes.
signed_transaction_from_json
def signed_transaction_from_json(json: str) -> SignedTransaction
Create this type from JSON encoded string.
signed_transaction_to_bcs
def signed_transaction_to_bcs(data: SignedTransaction) -> bytes
Convert this type to BCS encoded bytes.
signed_transaction_to_json
def signed_transaction_to_json(data: SignedTransaction) -> str
Convert this type to JSON encoded string.
simple_signature_from_bcs
def simple_signature_from_bcs(bcs: bytes) -> SimpleSignature
Create this type from BCS encoded bytes.
simple_signature_from_json
def simple_signature_from_json(json: str) -> SimpleSignature
Create this type from JSON encoded string.
simple_signature_to_bcs
def simple_signature_to_bcs(data: SimpleSignature) -> bytes
Convert this type to BCS encoded bytes.
simple_signature_to_json
def simple_signature_to_json(data: SimpleSignature) -> str
Convert this type to JSON encoded string.
split_coins_from_bcs
def split_coins_from_bcs(bcs: bytes) -> SplitCoins
Create this type from BCS encoded bytes.
split_coins_from_json
def split_coins_from_json(json: str) -> SplitCoins
Create this type from JSON encoded string.
split_coins_to_bcs
def split_coins_to_bcs(data: SplitCoins) -> bytes
Convert this type to BCS encoded bytes.
split_coins_to_json
def split_coins_to_json(data: SplitCoins) -> str
Convert this type to JSON encoded string.
string_from_bcs
def string_from_bcs(input: bytes) -> str
Create a String from BCS encoded bytes.
string_from_json
def string_from_json(input: str) -> str
Create a String from JSON encoded string.
string_to_bcs
def string_to_bcs(input: str) -> bytes
Convert this String to BCS encoded bytes.
string_to_json
def string_to_json(input: str) -> str
Convert this String to JSON encoded string.
struct_tag_from_bcs
def struct_tag_from_bcs(bcs: bytes) -> StructTag
Create this type from BCS encoded bytes.
struct_tag_from_json
def struct_tag_from_json(json: str) -> StructTag
Create this type from JSON encoded string.
struct_tag_to_bcs
def struct_tag_to_bcs(data: StructTag) -> bytes
Convert this type to BCS encoded bytes.
struct_tag_to_json
def struct_tag_to_json(data: StructTag) -> str
Convert this type to JSON encoded string.
system_package_from_bcs
def system_package_from_bcs(bcs: bytes) -> SystemPackage
Create this type from BCS encoded bytes.
system_package_from_json
def system_package_from_json(json: str) -> SystemPackage
Create this type from JSON encoded string.
system_package_to_bcs
def system_package_to_bcs(data: SystemPackage) -> bytes
Convert this type to BCS encoded bytes.
system_package_to_json
def system_package_to_json(data: SystemPackage) -> str
Convert this type to JSON encoded string.
transaction_deny_rules_update_from_bcs
def transaction_deny_rules_update_from_bcs(
bcs: bytes) -> TransactionDenyRulesUpdate
Create this type from BCS encoded bytes.
transaction_deny_rules_update_from_json
def transaction_deny_rules_update_from_json(
json: str) -> TransactionDenyRulesUpdate
Create this type from JSON encoded string.
transaction_deny_rules_update_to_bcs
def transaction_deny_rules_update_to_bcs(
data: TransactionDenyRulesUpdate) -> bytes
Convert this type to BCS encoded bytes.
transaction_deny_rules_update_to_json
def transaction_deny_rules_update_to_json(
data: TransactionDenyRulesUpdate) -> str
Convert this type to JSON encoded string.
transaction_digest_from_bcs
def transaction_digest_from_bcs(bcs: bytes) -> TransactionDigest
Create this type from BCS encoded bytes.
transaction_digest_from_json
def transaction_digest_from_json(json: str) -> TransactionDigest
Create this type from JSON encoded string.
transaction_digest_to_bcs
def transaction_digest_to_bcs(data: TransactionDigest) -> bytes
Convert this type to BCS encoded bytes.
transaction_digest_to_json
def transaction_digest_to_json(data: TransactionDigest) -> str
Convert this type to JSON encoded string.
transaction_effects_digest_from_bcs
def transaction_effects_digest_from_bcs(
bcs: bytes) -> TransactionEffectsDigest
Create this type from BCS encoded bytes.
transaction_effects_digest_from_json
def transaction_effects_digest_from_json(
json: str) -> TransactionEffectsDigest
Create this type from JSON encoded string.
transaction_effects_digest_to_bcs
def transaction_effects_digest_to_bcs(data: TransactionEffectsDigest) -> bytes
Convert this type to BCS encoded bytes.
transaction_effects_digest_to_json
def transaction_effects_digest_to_json(data: TransactionEffectsDigest) -> str
Convert this type to JSON encoded string.
transaction_effects_from_bcs
def transaction_effects_from_bcs(bcs: bytes) -> TransactionEffects
Create this type from BCS encoded bytes.
transaction_effects_from_json
def transaction_effects_from_json(json: str) -> TransactionEffects
Create this type from JSON encoded string.
transaction_effects_to_bcs
def transaction_effects_to_bcs(data: TransactionEffects) -> bytes
Convert this type to BCS encoded bytes.
transaction_effects_to_json
def transaction_effects_to_json(data: TransactionEffects) -> str
Convert this type to JSON encoded string.
transaction_effects_v1_from_bcs
def transaction_effects_v1_from_bcs(bcs: bytes) -> TransactionEffectsV1
Create this type from BCS encoded bytes.
transaction_effects_v1_from_json
def transaction_effects_v1_from_json(json: str) -> TransactionEffectsV1
Create this type from JSON encoded string.
transaction_effects_v1_to_bcs
def transaction_effects_v1_to_bcs(data: TransactionEffectsV1) -> bytes
Convert this type to BCS encoded bytes.
transaction_effects_v1_to_json
def transaction_effects_v1_to_json(data: TransactionEffectsV1) -> str
Convert this type to JSON encoded string.
transaction_events_digest_from_bcs
def transaction_events_digest_from_bcs(bcs: bytes) -> TransactionEventsDigest
Create this type from BCS encoded bytes.
transaction_events_digest_from_json
def transaction_events_digest_from_json(json: str) -> TransactionEventsDigest
Create this type from JSON encoded string.
transaction_events_digest_to_bcs
def transaction_events_digest_to_bcs(data: TransactionEventsDigest) -> bytes
Convert this type to BCS encoded bytes.
transaction_events_digest_to_json
def transaction_events_digest_to_json(data: TransactionEventsDigest) -> str
Convert this type to JSON encoded string.
transaction_events_from_bcs
def transaction_events_from_bcs(bcs: bytes) -> TransactionEvents
Create this type from BCS encoded bytes.
transaction_events_from_json
def transaction_events_from_json(json: str) -> TransactionEvents
Create this type from JSON encoded string.
transaction_events_to_bcs
def transaction_events_to_bcs(data: TransactionEvents) -> bytes
Convert this type to BCS encoded bytes.
transaction_events_to_json
def transaction_events_to_json(data: TransactionEvents) -> str
Convert this type to JSON encoded string.
transaction_expiration_from_bcs
def transaction_expiration_from_bcs(bcs: bytes) -> TransactionExpiration
Create this type from BCS encoded bytes.
transaction_expiration_from_json
def transaction_expiration_from_json(json: str) -> TransactionExpiration
Create this type from JSON encoded string.
transaction_expiration_to_bcs
def transaction_expiration_to_bcs(data: TransactionExpiration) -> bytes
Convert this type to BCS encoded bytes.
transaction_expiration_to_json
def transaction_expiration_to_json(data: TransactionExpiration) -> str
Convert this type to JSON encoded string.
transaction_from_bcs
def transaction_from_bcs(bcs: bytes) -> Transaction
Create this type from BCS encoded bytes.
transaction_from_json
def transaction_from_json(json: str) -> Transaction
Create this type from JSON encoded string.
transaction_kind_from_bcs
def transaction_kind_from_bcs(bcs: bytes) -> TransactionKind
Create this type from BCS encoded bytes.
transaction_kind_from_json
def transaction_kind_from_json(json: str) -> TransactionKind
Create this type from JSON encoded string.
transaction_kind_to_bcs
def transaction_kind_to_bcs(data: TransactionKind) -> bytes
Convert this type to BCS encoded bytes.
transaction_kind_to_json
def transaction_kind_to_json(data: TransactionKind) -> str
Convert this type to JSON encoded string.
transaction_to_bcs
def transaction_to_bcs(data: Transaction) -> bytes
Convert this type to BCS encoded bytes.
transaction_to_json
def transaction_to_json(data: Transaction) -> str
Convert this type to JSON encoded string.
transaction_v1_from_bcs
def transaction_v1_from_bcs(bcs: bytes) -> TransactionV1
Create this type from BCS encoded bytes.
transaction_v1_from_json
def transaction_v1_from_json(json: str) -> TransactionV1
Create this type from JSON encoded string.
transaction_v1_to_bcs
def transaction_v1_to_bcs(data: TransactionV1) -> bytes
Convert this type to BCS encoded bytes.
transaction_v1_to_json
def transaction_v1_to_json(data: TransactionV1) -> str
Convert this type to JSON encoded string.
transfer_objects_from_bcs
def transfer_objects_from_bcs(bcs: bytes) -> TransferObjects
Create this type from BCS encoded bytes.
transfer_objects_from_json
def transfer_objects_from_json(json: str) -> TransferObjects
Create this type from JSON encoded string.
transfer_objects_to_bcs
def transfer_objects_to_bcs(data: TransferObjects) -> bytes
Convert this type to BCS encoded bytes.
transfer_objects_to_json
def transfer_objects_to_json(data: TransferObjects) -> str
Convert this type to JSON encoded string.
type_argument_error_from_bcs
def type_argument_error_from_bcs(bcs: bytes) -> TypeArgumentError
Create this type from BCS encoded bytes.
type_argument_error_from_json
def type_argument_error_from_json(json: str) -> TypeArgumentError
Create this type from JSON encoded string.
type_argument_error_to_bcs
def type_argument_error_to_bcs(data: TypeArgumentError) -> bytes
Convert this type to BCS encoded bytes.
type_argument_error_to_json
def type_argument_error_to_json(data: TypeArgumentError) -> str
Convert this type to JSON encoded string.
type_origin_from_bcs
def type_origin_from_bcs(bcs: bytes) -> TypeOrigin
Create this type from BCS encoded bytes.
type_origin_from_json
def type_origin_from_json(json: str) -> TypeOrigin
Create this type from JSON encoded string.
type_origin_to_bcs
def type_origin_to_bcs(data: TypeOrigin) -> bytes
Convert this type to BCS encoded bytes.
type_origin_to_json
def type_origin_to_json(data: TypeOrigin) -> str
Convert this type to JSON encoded string.
type_tag_from_bcs
def type_tag_from_bcs(bcs: bytes) -> TypeTag
Create this type from BCS encoded bytes.
type_tag_from_json
def type_tag_from_json(json: str) -> TypeTag
Create this type from JSON encoded string.
type_tag_to_bcs
def type_tag_to_bcs(data: TypeTag) -> bytes
Convert this type to BCS encoded bytes.
type_tag_to_json
def type_tag_to_json(data: TypeTag) -> str
Convert this type to JSON encoded string.
u16_from_bcs
def u16_from_bcs(input: bytes) -> int
Create a u16 from BCS encoded bytes.
u16_from_json
def u16_from_json(input: str) -> int
Create a u16 from JSON encoded string.
u16_to_bcs
def u16_to_bcs(input: int) -> bytes
Convert this u16 to BCS encoded bytes.
u16_to_json
def u16_to_json(input: int) -> str
Convert this u16 to JSON encoded string.
u32_from_bcs
def u32_from_bcs(input: bytes) -> int
Create a u32 from BCS encoded bytes.
u32_from_json
def u32_from_json(input: str) -> int
Create a u32 from JSON encoded string.
u32_to_bcs
def u32_to_bcs(input: int) -> bytes
Convert this u32 to BCS encoded bytes.
u32_to_json
def u32_to_json(input: int) -> str
Convert this u32 to JSON encoded string.
u64_from_bcs
def u64_from_bcs(input: bytes) -> int
Create a u64 from BCS encoded bytes.
u64_from_json
def u64_from_json(input: str) -> int
Create a u64 from JSON encoded string.
u64_to_bcs
def u64_to_bcs(input: int) -> bytes
Convert this u64 to BCS encoded bytes.
u64_to_json
def u64_to_json(input: int) -> str
Convert this u64 to JSON encoded string.
u8_from_bcs
def u8_from_bcs(input: bytes) -> int
Create a u8 from BCS encoded bytes.
u8_from_json
def u8_from_json(input: str) -> int
Create a u8 from JSON encoded string.
u8_to_bcs
def u8_to_bcs(input: int) -> bytes
Convert this u8 to BCS encoded bytes.
u8_to_json
def u8_to_json(input: int) -> str
Convert this u8 to JSON encoded string.
unchanged_shared_kind_from_bcs
def unchanged_shared_kind_from_bcs(bcs: bytes) -> UnchangedSharedKind
Create this type from BCS encoded bytes.
unchanged_shared_kind_from_json
def unchanged_shared_kind_from_json(json: str) -> UnchangedSharedKind
Create this type from JSON encoded string.
unchanged_shared_kind_to_bcs
def unchanged_shared_kind_to_bcs(data: UnchangedSharedKind) -> bytes
Convert this type to BCS encoded bytes.
unchanged_shared_kind_to_json
def unchanged_shared_kind_to_json(data: UnchangedSharedKind) -> str
Convert this type to JSON encoded string.
unchanged_shared_object_from_bcs
def unchanged_shared_object_from_bcs(bcs: bytes) -> UnchangedSharedObject
Create this type from BCS encoded bytes.
unchanged_shared_object_from_json
def unchanged_shared_object_from_json(json: str) -> UnchangedSharedObject
Create this type from JSON encoded string.
unchanged_shared_object_to_bcs
def unchanged_shared_object_to_bcs(data: UnchangedSharedObject) -> bytes
Convert this type to BCS encoded bytes.
unchanged_shared_object_to_json
def unchanged_shared_object_to_json(data: UnchangedSharedObject) -> str
Convert this type to JSON encoded string.
upgrade_from_bcs
def upgrade_from_bcs(bcs: bytes) -> Upgrade
Create this type from BCS encoded bytes.
upgrade_from_json
def upgrade_from_json(json: str) -> Upgrade
Create this type from JSON encoded string.
upgrade_info_from_bcs
def upgrade_info_from_bcs(bcs: bytes) -> UpgradeInfo
Create this type from BCS encoded bytes.
upgrade_info_from_json
def upgrade_info_from_json(json: str) -> UpgradeInfo
Create this type from JSON encoded string.
upgrade_info_to_bcs
def upgrade_info_to_bcs(data: UpgradeInfo) -> bytes
Convert this type to BCS encoded bytes.
upgrade_info_to_json
def upgrade_info_to_json(data: UpgradeInfo) -> str
Convert this type to JSON encoded string.
upgrade_to_bcs
def upgrade_to_bcs(data: Upgrade) -> bytes
Convert this type to BCS encoded bytes.
upgrade_to_json
def upgrade_to_json(data: Upgrade) -> str
Convert this type to JSON encoded string.
user_signature_from_bcs
def user_signature_from_bcs(bcs: bytes) -> UserSignature
Create this type from BCS encoded bytes.
user_signature_from_json
def user_signature_from_json(json: str) -> UserSignature
Create this type from JSON encoded string.
user_signature_to_bcs
def user_signature_to_bcs(data: UserSignature) -> bytes
Convert this type to BCS encoded bytes.
user_signature_to_json
def user_signature_to_json(data: UserSignature) -> str
Convert this type to JSON encoded string.
validator_aggregated_signature_from_bcs
def validator_aggregated_signature_from_bcs(
bcs: bytes) -> ValidatorAggregatedSignature
Create this type from BCS encoded bytes.
validator_aggregated_signature_from_json
def validator_aggregated_signature_from_json(
json: str) -> ValidatorAggregatedSignature
Create this type from JSON encoded string.
validator_aggregated_signature_to_bcs
def validator_aggregated_signature_to_bcs(
data: ValidatorAggregatedSignature) -> bytes
Convert this type to BCS encoded bytes.
validator_aggregated_signature_to_json
def validator_aggregated_signature_to_json(
data: ValidatorAggregatedSignature) -> str
Convert this type to JSON encoded string.
validator_committee_from_bcs
def validator_committee_from_bcs(bcs: bytes) -> ValidatorCommittee
Create this type from BCS encoded bytes.
validator_committee_from_json
def validator_committee_from_json(json: str) -> ValidatorCommittee
Create this type from JSON encoded string.
validator_committee_member_from_bcs
def validator_committee_member_from_bcs(
bcs: bytes) -> ValidatorCommitteeMember
Create this type from BCS encoded bytes.
validator_committee_member_from_json
def validator_committee_member_from_json(
json: str) -> ValidatorCommitteeMember
Create this type from JSON encoded string.
validator_committee_member_to_bcs
def validator_committee_member_to_bcs(data: ValidatorCommitteeMember) -> bytes
Convert this type to BCS encoded bytes.
validator_committee_member_to_json
def validator_committee_member_to_json(data: ValidatorCommitteeMember) -> str
Convert this type to JSON encoded string.
validator_committee_to_bcs
def validator_committee_to_bcs(data: ValidatorCommittee) -> bytes
Convert this type to BCS encoded bytes.
validator_committee_to_json
def validator_committee_to_json(data: ValidatorCommittee) -> str
Convert this type to JSON encoded string.
validator_signature_from_bcs
def validator_signature_from_bcs(bcs: bytes) -> ValidatorSignature
Create this type from BCS encoded bytes.
validator_signature_from_json
def validator_signature_from_json(json: str) -> ValidatorSignature
Create this type from JSON encoded string.
validator_signature_to_bcs
def validator_signature_to_bcs(data: ValidatorSignature) -> bytes
Convert this type to BCS encoded bytes.
validator_signature_to_json
def validator_signature_to_json(data: ValidatorSignature) -> str
Convert this type to JSON encoded string.
version_assignment_from_bcs
def version_assignment_from_bcs(bcs: bytes) -> VersionAssignment
Create this type from BCS encoded bytes.
version_assignment_from_json
def version_assignment_from_json(json: str) -> VersionAssignment
Create this type from JSON encoded string.
version_assignment_to_bcs
def version_assignment_to_bcs(data: VersionAssignment) -> bytes
Convert this type to BCS encoded bytes.
version_assignment_to_json
def version_assignment_to_json(data: VersionAssignment) -> str
Convert this type to JSON encoded string.