Thruput TypeScript protocol bindings
    Preparing search index...

    Module @thruputchain/protocol

    Core Thruput protocol types, codecs, and utility helpers.

    The protocol types are generated from XDR definitions in the protocol/ submodule. This barrel is the intended public import surface for generated protocol symbols, XDR primitives, and common helpers.

    Enumerations

    AuthClaimType
    AuthVerifyErrorCode
    ConfigParamID
    ContractRejectCode
    ContractType
    CryptographicScheme
    DbConflictCode
    DbDiagnosticLevel
    ExecResult
    GenesisContractAddresses
    HogexecPrecompiledNativeContracts
    InvocationFrameStatusCode
    InvokeFlag
    StorageDeltaFlags
    StorageDeltaType
    StorageItemType
    StorageKeyType
    SyscallErrorCode
    TransactionStatistic
    TxFailureKind

    Interfaces

    AddressAndKey
    AddressAuthData
    ApprovalEvent
    AuthClaim_source_address_claim
    AuthDataChangeArgs
    AuthDataChangeSigner
    ConfigHashPreimage
    ConsumeUniquifierArgs
    ContractBlob
    ContractDeploymentHashPreimage
    ContractRejectDiagnostic
    DbConflictDiagnostic
    DecoratedSignature
    DeployedContractHash
    FlaggedStorageDelta
    GenesisConfiguration
    IdentifiedEvent
    int128_xdr
    Invocation
    NetworkConfigV0
    NondeterministicProposalData
    NonnegativeInt128SetAddArgs
    ProposalContext
    ProposalHeader
    ProposedTransaction
    PubkeyAccountPreimage
    PublicKeyConfig
    ReplayCacheData
    ReplayCacheHeightCount
    ReplayCacheMetadata
    RetrocausalQueueBlock
    RetrocausalQueueConsumeDelta
    RetrocausalQueueDelta
    RetrocausalQueueInsertDelta
    RetrocausalQueueMetadata
    RetrocausalQueuePastBlockConsumeDelta
    SignedTransaction
    StorageCostModelXdr
    Transaction
    TransferEvent
    TxEmittedEvent
    TxEventLog
    TxFailureDiagnostic
    uint128_xdr
    Uniquifier
    ValidatorPrivateInfo
    ValidatorPublicInfo

    Type Aliases

    AuthClaim
    BitMap
    BlockHeight
    Bytestring
    Calldata
    ConfigHash
    ConfigParam
    ConsensusValueHash
    Contract
    ContractAddress
    ContractEntrypointID
    DbConflictResult
    Ed25519PublicKey
    Ed25519SecretKey
    Ed25519Signature
    EventsHash
    ExtensionPoint
    GasAmount
    InvocationFrameOutput
    InvokeFlagSet
    KeyID
    MlDsa65PublicKey
    MlDsa65SecretKey
    MlDsa65Signature
    NetworkConfig
    NetworkHash
    OptSignedTransaction
    OptSignedTransactionBatch
    ProposalHeaderHash
    ProposedTransactionBatch
    Protocol
    ProtocolCommit
    PublicKey
    PublicKeyConfigOpt
    PublicKeyHash
    QueueEntry
    ReturnBuffer
    RuntimeMemoryLength
    SecretKey
    ServerAddress
    SHA256Hash
    Signature
    SignedTransactionBatch
    SignedTransactionHash
    SignedTransactionHashBatch
    StorageDelta
    StorageDeltaFlagSet
    StorageItem
    StorageKey
    StorageKeyContractData
    StorageLongHash
    StorageShortHash
    TimePoint
    Topic
    TransactionBatch
    TransactionHash
    TransactionHashBatch
    TxFailureCause
    TxsHash
    UPID
    ValidatorID
    ValidatorPublicKey
    ValidatorSecretKey
    Weight
    WireStorageItem

    Variables

    codec
    kBytestringCeilingLen
    kDefaultMaxBytestringLen
    kDefaultMaxContractSizeBytes
    kDefaultNewAddressKeyID
    kDefaultNewAddressRequiredWeight
    kMaxConcurrentRcqReadsPerTx
    kMaxEventLength
    kMaxEventsPerTransaction
    kMaxSigners
    kMaxTopics
    kNativeTokenDivisibility
    kQueueEntryMaxLen
    kReplayCacheHeightsMaxLen
    kReplayCacheNoncesMaxLen
    kRetrocausalQueueBlockEntriesMaxLen
    NATIVE_TOKEN_ADDRESS

    Functions

    bitMap
    blockHeight
    bytestring
    calldata
    configHash
    consensusValueHash
    contractAddress
    contractEntrypointID
    ed25519PublicKey
    ed25519SecretKey
    ed25519Signature
    eventsHash
    fromBase58
    fromHex
    gasAmount
    invokeFlagSet
    keyID
    maxBase58Length
    mlDsa65PublicKey
    mlDsa65SecretKey
    mlDsa65Signature
    networkHash
    optSignedTransaction
    optSignedTransactionBatch
    proposalHeaderHash
    proposedTransactionBatch
    protocol
    protocolCommit
    publicKeyConfigOpt
    publicKeyHash
    queueEntry
    returnBuffer
    runtimeMemoryLength
    serverAddress
    sha256Hash
    signedTransactionBatch
    signedTransactionHash
    signedTransactionHashBatch
    storageDeltaFlagSet
    storageKeyContractData
    storageLongHash
    storageShortHash
    timePoint
    toBase58
    toHex
    topic
    transactionBatch
    transactionHash
    transactionHashBatch
    txsHash
    upid
    validatorID
    validatorPublicKey
    validatorSecretKey
    weight

    References

    BoolCodec → BoolCodec
    CxsReader → CxsReader
    CxsWriter → CxsWriter
    deserialize → deserialize
    deserializeCxs → deserializeCxs
    fixedArray → fixedArray
    FixedArray → FixedArray
    FixedArrayCodec → FixedArrayCodec
    fixedBytes → fixedBytes
    FixedBytes → FixedBytes
    FixedOpaqueCodec → FixedOpaqueCodec
    Int128Codec → Int128Codec
    Int256Codec → Int256Codec
    Int32Codec → Int32Codec
    Int64Codec → Int64Codec
    IReader → IReader
    IWriter → IWriter
    LazyCodec → LazyCodec
    MAX_PREALLOC_BYTES → MAX_PREALLOC_BYTES
    OptionCodec → OptionCodec
    resolve → resolve
    RpcMethodMeta → RpcMethodMeta
    RpcProgramMeta → RpcProgramMeta
    serialize → serialize
    serializeCxs → serializeCxs
    Uint128Codec → Uint128Codec
    Uint256Codec → Uint256Codec
    Uint32Codec → Uint32Codec
    Uint64Codec → Uint64Codec
    Uint8Codec → Uint8Codec
    VarArray → VarArray
    VarArrayCodec → VarArrayCodec
    VarBytes → VarBytes
    VarOpaqueCodec → VarOpaqueCodec
    VarString → VarString
    VoidCodec → VoidCodec
    XdrCodec → XdrCodec
    XdrReader → XdrReader
    XdrWriter → XdrWriter