Re-exports§
- pub use crate::*;
Modules§
Macros§
- from_bytes 
- from_hex 
- impl_deserialize_ for_ wrapped_ tuple 
- impl_hash_ type 
- impl_signature 
- impl_to_ from 
- to_bytes 
- to_from_ bytes 
- to_from_ json 
- to_hex
Structs§
- Address
- Anchor
- AnchorData Hash 
- AssetName 
- AssetNames 
- Assets
- AuxiliaryData 
- AuxiliaryData Hash 
- AuxiliaryData Set 
- BaseAddress 
- BigInt
- BigNum
- Bip32Private Key 
- Bip32Public Key 
- Block
- BlockHash 
- BootstrapWitness 
- BootstrapWitnesses 
- ByronAddress 
- CBORRead Len 
- Certificate
- Certificates
- CertificatesBuilder 
- ChangeConfig 
- Committee
- CommitteeCold Resign 
- CommitteeHotAuth 
- Constitution
- ConstrPlutus Data 
- CostModel 
- Costmdls
- Credential
- Credentials
- DNSRecordAorAAAA 
- DNSRecordSRV
- DRep
- DRepDeregistration 
- DRepRegistration 
- DRepUpdate 
- DRepVoting Thresholds 
- DataCost 
- DataHash 
- DatumSource 
- DeserializeError 
- Ed25519KeyHash 
- Ed25519KeyHashes 
- Ed25519Signature 
- EnterpriseAddress 
- ExUnitPrices 
- ExUnits
- FixedBlock 
- Read only view of a block with more strict structs for hash sensitive structs. Warning: This is experimental and may be removed or changed in the future.
- FixedTransaction 
- FixedTransaction Bodies 
- Warning: This is experimental and may be removed or changed in the future.
- FixedTransaction Body 
- Read-only view of a transaction body. With correct hash and original bytes. Warning: This is experimental and may be removed in the future.
- FixedTxWitnesses Set 
- A set of witnesses for a transaction. Keeps original bytes to allow for safe roundtrip serialization. That helps to avoid incorrect script data hash after adding a vkey or bootstrap witness. You can add a vkey witness or a bootstrap witness to the set. Or get TransactionWitnessSet to read fields.
- FixedVersioned Block 
- Warning: This is experimental and may be removed in the future.
- GeneralTransaction Metadata 
- GenesisDelegate Hash 
- GenesisHash 
- GenesisHashes 
- GenesisKeyDelegation 
- GovernanceAction 
- GovernanceAction Id 
- GovernanceAction Ids 
- HardFork Initiation Action 
- Header
- HeaderBody 
- InfoAction 
- InputsRequired Witness 
- Int
- Ipv4
- Ipv6
- JsError
- KESSignature
- KESVKey
- Language
- Languages
- LegacyDaedalus Private Key 
- LinearFee 
- MIRToStake Credentials 
- MalformedAddress 
- MetadataList 
- MetadataMap 
- MinOutputAdaCalculator 
- Mint
- MintAssets 
- MintBuilder 
- MintWitness 
- MintsAssets 
- MoveInstantaneous Reward 
- MoveInstantaneous Rewards Cert 
- MultiAsset 
- MultiHost Name 
- NativeScript 
- NativeScript Source 
- NativeScripts 
- NetworkId 
- NetworkInfo 
- NewConstitutionAction 
- NoConfidenceAction 
- Nonce
- OperationalCert 
- OutputDatum 
- ParameterChange Action 
- PlutusData 
- PlutusList 
- PlutusMap 
- PlutusMapValues 
- PlutusScript 
- PlutusScript Source 
- PlutusScripts 
- PlutusWitness 
- PlutusWitnesses 
- Pointer
- PointerAddress 
- PoolMetadata 
- PoolMetadata Hash 
- PoolParams 
- PoolRegistration 
- PoolRetirement 
- PoolVoting Thresholds 
- PrivateKey 
- ProposedProtocol Parameter Updates 
- ProtocolParam Update 
- ProtocolVersion 
- PublicKey 
- ED25519 key used as public key
- PublicKeys 
- Redeemer
- RedeemerTag 
- Redeemers
- Relay
- Relays
- RewardAddress 
- RewardAddresses 
- ScriptAll 
- ScriptAny 
- ScriptData Hash 
- ScriptHash 
- ScriptHashes 
- ScriptNOfK 
- ScriptPubkey 
- ScriptRef 
- SingleHost Addr 
- SingleHost Name 
- StakeAndVote Delegation 
- StakeDelegation 
- StakeDeregistration 
- StakeRegistration 
- StakeRegistration AndDelegation 
- StakeVote Registration AndDelegation 
- Strings
- TimelockExpiry 
- TimelockStart 
- Transaction
- TransactionBatch 
- TransactionBatch List 
- TransactionBodies 
- TransactionBody 
- TransactionBuilder 
- TransactionBuilder Config 
- TransactionBuilder Config Builder 
- TransactionHash 
- TransactionInput 
- TransactionInputs 
- TransactionMetadatum 
- TransactionMetadatum Labels 
- TransactionOutput 
- TransactionOutput Amount Builder 
- TransactionOutput Builder 
- We introduce a builder-pattern format for creating transaction outputs This is because:
- TransactionOutputs 
- TransactionUnspent Output 
- TransactionUnspent Outputs 
- TransactionWitness Set 
- TransactionWitness Sets 
- TreasuryWithdrawals 
- TreasuryWithdrawals Action 
- TxInputsBuilder 
- URL
- UnitInterval 
- Update
- UpdateCommittee Action 
- VRFCert
- VRFKeyHash 
- VRFVKey
- Value
- ValueShortage 
- VersionedBlock 
- Vkey
- Vkeys
- Vkeywitness
- Vkeywitnesses
- VoteDelegation 
- VoteRegistration AndDelegation 
- Voter
- Voters
- VotingBuilder 
- VotingProcedure 
- VotingProcedures 
- VotingProposal 
- VotingProposal Builder 
- VotingProposals 
- Withdrawals
- WithdrawalsBuilder 
Enums§
- AddressKind 
- BlockEra 
- CborContainer Type 
- CborSetType 
- CertificateEnum 
- CertificateKind 
- CoinSelection StrategyCI P2 
- CredKind 
- CredType 
- DRepKind 
- DataOption 
- DatumSource Enum 
- DeserializeFailure 
- GovernanceAction Kind 
- HeaderLeader Cert Enum 
- Key
- LanguageKind 
- MIREnum
- MIRKind
- MIRPot
- MetadataJson Schema 
- NativeScript Enum 
- NativeScript Kind 
- NetworkIdKind 
- PlutusData Enum 
- PlutusData Kind 
- PlutusDatum Schema 
- JSON <-> PlutusData conversion schemas. Follows ScriptDataJsonSchema in cardano-cli defined at: https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
- RedeemerTagKind 
- RelayEnum 
- RelayKind 
- ScriptHash Namespace 
- Each new language uses a different namespace for hashing its script This is because you could have a language where the same bytes have different semantics So this avoids scripts in different languages mapping to the same hash Note that the enum value here is different than the enum value for deciding the cost model of a script
- ScriptSchema 
- Used to choosed the schema for a script JSON string
- TransactionMetadatum Kind 
- TransactionSets State 
- VoteKind 
- VoterKind 
Functions§
- calculate_ex_ units_ ceil_ cost 
- create_send_ all 
- decode_arbitrary_ bytes_ from_ metadatum 
- decode_metadatum_ to_ json_ str 
- decode_metadatum_ to_ json_ value 
- decode_plutus_ datum_ to_ json_ str 
- decode_plutus_ datum_ to_ json_ value 
- decrypt_with_ password 
- encode_arbitrary_ bytes_ as_ metadatum 
- encode_json_ str_ to_ metadatum 
- encode_json_ str_ to_ native_ script 
- Receives a script JSON string and returns a NativeScript. Cardano Wallet and Node styles are supported.
- encode_json_ str_ to_ plutus_ datum 
- encode_json_ value_ to_ metadatum 
- encode_json_ value_ to_ plutus_ datum 
- encrypt_with_ password 
- from_bytes 
- get_deposit 
- get_implicit_ input 
- has_transaction_ set_ tag 
- Returns the state of the transaction sets. If all sets have a tag, it returns AllSetsHaveTag. If all sets have no tag, it returns AllSetsHaveNoTag. If there is a mix of tagged and untagged sets, it returns MixedSets. This function is useful for checking if a transaction might be signed by a hardware wallet. And for checking which parameter should be used in a hardware wallet api. WARNING this function will be deleted after all tags for set types will be mandatory. Approx after next hf
- hash_auxiliary_ data 
- hash_plutus_ data 
- hash_script_ data 
- internal_get_ deposit 
- internal_get_ implicit_ input 
- make_daedalus_ bootstrap_ witness 
- make_icarus_ bootstrap_ witness 
- make_vkey_ witness 
- min_ada_ for_ output 
- returns minimal amount of ada for the output for case when the amount is included to the output
- min_fee
- min_fee_ for_ size 
- min_ref_ script_ fee 
- min_script_ fee 
- to_bigint 
- to_bytes