Skip to content

Commit

Permalink
Merge pull request #212 from algorandfoundation/fix-indexer-types
Browse files Browse the repository at this point in the history
Fix indexer types
  • Loading branch information
robdmoore authored Jan 21, 2024
2 parents 9ae7442 + 44cf82f commit b18f209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/code/interfaces/types_indexer.TransactionSignature.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Validation signature associated with some data. Only one of the signatures shoul

### logicsig

**logicsig**: [`LogicTransactionSignature`](types_indexer.LogicTransactionSignature.md)
`Optional` **logicsig**: [`LogicTransactionSignature`](types_indexer.LogicTransactionSignature.md)

Logicsig signature

Expand All @@ -30,7 +30,7 @@ ___

### multisig

**multisig**: [`MultisigTransactionSignature`](types_indexer.MultisigTransactionSignature.md)
`Optional` **multisig**: [`MultisigTransactionSignature`](types_indexer.MultisigTransactionSignature.md)

Multisig signature

Expand All @@ -42,7 +42,7 @@ ___

### sig

**sig**: `string`
`Optional` **sig**: `string`

[sig] Standard ed25519 signature.

Expand Down
6 changes: 3 additions & 3 deletions src/types/indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,14 +372,14 @@ export interface ApplicationResult {
/** Validation signature associated with some data. Only one of the signatures should be provided. https://developer.algorand.org/docs/rest-apis/indexer/#transactionsignature */
export interface TransactionSignature {
/** Logicsig signature */
logicsig: LogicTransactionSignature
logicsig?: LogicTransactionSignature
/** Multisig signature */
multisig: MultisigTransactionSignature
multisig?: MultisigTransactionSignature
/** [sig] Standard ed25519 signature.
*
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
*/
sig: string
sig?: string
}

/** [lsig] Programatic transaction signature.
Expand Down

0 comments on commit b18f209

Please sign in to comment.