• Api Documentation
Show / Hide Table of Contents
  • Algorand
    • Address
    • ApiException
    • ApiException<TResult>
    • Digest
    • HttpClientConfigurator
    • LogicsigSignature
    • MultisigAddress
    • MultisigSignature
    • MultisigSubsig
    • ParticipationPublicKey
    • Signature
    • TEALProgram
    • TxGroup
    • VRFPublicKey
  • Algorand.Algod
    • DefaultApi
    • DefaultApi.ObjectResponseResult<T>
    • IDefaultApi
  • Algorand.Algod.Model
    • Account
    • AccountApplicationResponse
    • AccountAssetResponse
    • AccountBalanceRecord
    • AccountDeltas
    • AccountParticipation
    • AccountSigType
    • AccountStateDelta
    • AccountTotals
    • Application
    • ApplicationLocalState
    • ApplicationParams
    • ApplicationStateSchema
    • AppResourceRecord
    • Asset
    • AssetHolding
    • AssetParams
    • AssetResourceRecord
    • Block
    • BlockHashResponse
    • Box
    • BoxDescriptor
    • BoxesResponse
    • BuildVersion
    • CertifiedBlock
    • CompileResponse
    • DisassembleResponse
    • DryrunRequest
    • DryrunResponse
    • DryrunSource
    • DryrunState
    • DryrunTxnResult
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • FileParameter
    • Format
    • GetSyncRoundResponse
    • KvDelta
    • LedgerStateDelta
    • LightBlockHeaderProof
    • ModifiedApp
    • ModifiedAsset
    • NodeStatusResponse
    • ParticipationKey
    • PendingTransactions
    • PostTransactionsResponse
    • ProofResponse
    • SimulateResponse
    • SimulateTransactionGroupResult
    • SimulateTransactionResult
    • StateDelta
    • StateProof
    • StateProofMessage
    • SupplyResponse
    • TealKeyValue
    • TealValue
    • TransactionParametersResponse
    • TransactionProofResponse
    • TxLease
    • Version
  • Algorand.Algod.Model.Transactions
    • ApplicationCallTransaction
    • ApplicationClearStateTransaction
    • ApplicationCloseOutTransaction
    • ApplicationCreateTransaction
    • ApplicationDeleteTransaction
    • ApplicationNoopTransaction
    • ApplicationOptInTransaction
    • ApplicationUpdateTransaction
    • AssetAcceptTransaction
    • AssetChangeTransaction
    • AssetClawbackTransaction
    • AssetConfigurationTransaction
    • AssetCreateTransaction
    • AssetDestroyTransaction
    • AssetFreezeTransaction
    • AssetMovementsTransaction
    • AssetTransferTransaction
    • AssetUpdateTransaction
    • IReturnableTransaction
    • KeyRegisterOfflineTransaction
    • KeyRegisterOnlineTransaction
    • KeyRegistrationTransaction
    • OnCompletion
    • PaymentTransaction
    • SignedTransaction
    • StateSchema
    • Transaction
  • Algorand.Algod.Test
    • TestHttpMessageHandler
  • Algorand.Crypto
    • KeyPair
  • Algorand.Indexer
    • CommonApi
    • CommonApi.ObjectResponseResult<T>
    • ICommonApi
    • ILookupApi
    • ISearchApi
    • LookupApi
    • LookupApi.ObjectResponseResult<T>
    • SearchApi
    • SearchApi.ObjectResponseResult<T>
  • Algorand.Indexer.Model
    • Account
    • AccountParticipation
    • AccountResponse
    • AccountsResponse
    • AccountStateDelta
    • Application
    • ApplicationLocalState
    • ApplicationLocalStatesResponse
    • ApplicationLogData
    • ApplicationLogsResponse
    • ApplicationParams
    • ApplicationResponse
    • ApplicationsResponse
    • ApplicationStateSchema
    • Asset
    • AssetBalancesResponse
    • AssetHolding
    • AssetHoldingsResponse
    • AssetParams
    • AssetResponse
    • AssetsResponse
    • Block
    • BlockRewards
    • BlockUpgradeState
    • BlockUpgradeVote
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • HealthCheck
    • MiniAssetHolding
    • StateSchema
    • TealKeyValue
    • TealValue
    • Transaction
    • TransactionApplication
    • TransactionAssetConfig
    • TransactionAssetFreeze
    • TransactionAssetTransfer
    • TransactionKeyreg
    • TransactionPayment
    • TransactionResponse
    • TransactionSignature
    • TransactionSignatureLogicsig
    • TransactionSignatureMultisig
    • TransactionSignatureMultisigSubsignature
    • TransactionsResponse
  • Algorand.KMD
    • Api
    • Api.ObjectResponseResult<T>
    • ApiException
    • ApiException<TResult>
    • APIV1DELETEKeyResponse
    • APIV1DELETEMultisigResponse
    • APIV1GETWalletsResponse
    • APIV1POSTKeyExportResponse
    • APIV1POSTKeyImportResponse
    • APIV1POSTKeyListResponse
    • APIV1POSTKeyResponse
    • APIV1POSTMasterKeyExportResponse
    • APIV1POSTMultisigExportResponse
    • APIV1POSTMultisigImportResponse
    • APIV1POSTMultisigListResponse
    • APIV1POSTMultisigProgramSignResponse
    • APIV1POSTMultisigTransactionSignResponse
    • APIV1POSTProgramSignResponse
    • APIV1POSTTransactionSignResponse
    • APIV1POSTWalletInfoResponse
    • APIV1POSTWalletInitResponse
    • APIV1POSTWalletReleaseResponse
    • APIV1POSTWalletRenameResponse
    • APIV1POSTWalletRenewResponse
    • APIV1POSTWalletResponse
    • APIV1Wallet
    • APIV1WalletHandle
    • CreateWalletRequest
    • DeleteKeyRequest
    • DeleteMultisigRequest
    • ExportKeyRequest
    • ExportMasterKeyRequest
    • ExportMultisigRequest
    • GenerateKeyRequest
    • IApi
    • ImportKeyRequest
    • ImportMultisigRequest
    • InitWalletHandleTokenRequest
    • ListKeysRequest
    • ListMultisigRequest
    • MultisigSig
    • MultisigSubsig
    • ReleaseWalletHandleTokenRequest
    • RenameWalletRequest
    • RenewWalletHandleTokenRequest
    • SignMultisigRequest
    • SignProgramMultisigRequest
    • SignProgramRequest
    • SignTransactionRequest
    • VersionsResponse
    • WalletInfoRequest
  • Algorand.Utils
    • ByteConstBlock
    • BytesConverter
    • Digester
    • Encoder
    • IntConstBlock
    • Logic
    • Logic.Uvarint
    • Mnemonic
    • MultisigAddressConverter
    • OrderedContractResolver
    • ProgramData
    • ReturnedTransactionConverter
    • Utils
    • VarintResult
    • Wordlist
  • Algorand.Utils.Crypto
    • FixedSecureRandom

Class LogicsigSignature

Serializable logicsig class. LogicsigSignature is constructed from a program and optional arguments. Signature sig and MultisigSignature msig property are available for modification by it's clients.

Inheritance
object
LogicsigSignature
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Algorand
Assembly: Algorand.dll
Syntax
[JsonObject]
public class LogicsigSignature

Constructors

| Improve this Doc View Source

LogicsigSignature()

Uninitialized object used for serializer to ignore default values.

Declaration
public LogicsigSignature()
| Improve this Doc View Source

LogicsigSignature(byte[], List<byte[]>, byte[], MultisigSignature)

LogicsigSignature

Declaration
[JsonConstructor]
public LogicsigSignature(byte[] logic, List<byte[]> args = null, byte[] sig = null, MultisigSignature msig = null)
Parameters
Type Name Description
byte[] logic

Unsigned logicsig object

System.Collections.Generic.List<T><byte[]> args

Unsigned logicsig object's arguments

byte[] sig
MultisigSignature msig

Fields

| Improve this Doc View Source

Args

Declaration
[JsonProperty(PropertyName = "arg")]
public List<byte[]> Args
Field Value
Type Description
System.Collections.Generic.List<T><byte[]>
| Improve this Doc View Source

Logic

Declaration
[JsonProperty(PropertyName = "l")]
public byte[] Logic
Field Value
Type Description
byte[]
| Improve this Doc View Source

Msig

Declaration
[JsonProperty(PropertyName = "msig")]
public MultisigSignature Msig
Field Value
Type Description
MultisigSignature
| Improve this Doc View Source

Sig

Declaration
[JsonProperty(PropertyName = "sig")]
public Signature Sig
Field Value
Type Description
Signature

Properties

| Improve this Doc View Source

Address

The address of the LogicsigSignature

Declaration
[JsonIgnore]
public Address Address { get; }
Property Value
Type Description
Address

Methods

| Improve this Doc View Source

AppendToLogicsig(LogicsigSignature, Account)

Appends a signature to multisig logic signed transaction

Declaration
public void AppendToLogicsig(LogicsigSignature lsig, Account signingAccount)
Parameters
Type Name Description
LogicsigSignature lsig

LogicsigSignature append to

Account signingAccount
| Improve this Doc View Source

BytesToSign()

Return prefixed program as byte array that is ready to sign

Declaration
public byte[] BytesToSign()
Returns
Type Description
byte[]

byte array

| Improve this Doc View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
| Improve this Doc View Source

ShouldSerializeArgs()

Declaration
public bool ShouldSerializeArgs()
Returns
Type Description
bool
| Improve this Doc View Source

Sign(Account)

Sign LogicSig with account's secret key

Declaration
public void Sign(Account signingAccount)
Parameters
Type Name Description
Account signingAccount
| Improve this Doc View Source

SignLogicsig(Account, MultisigAddress)

Declaration
public void SignLogicsig(Account signingAccount, MultisigAddress ma)
Parameters
Type Name Description
Account signingAccount
MultisigAddress ma
| Improve this Doc View Source

SignLogicsig(Account)

Sign LogicSig with account's secret key

Declaration
public void SignLogicsig(Account signingAccount)
Parameters
Type Name Description
Account signingAccount
| Improve this Doc View Source

ToAddress()

alculate escrow address from logic sig program DEPRECATED Please use Address property. The address of the LogicsigSignature

Declaration
public Address ToAddress()
Returns
Type Description
Address

The address of the LogicsigSignature

| Improve this Doc View Source

Verify(Address)

Perform signature verification against the sender address

Declaration
public bool Verify(Address address)
Parameters
Type Name Description
Address address

Address to verify

Returns
Type Description
bool

bool

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾