Options
All
  • Public
  • Public/Protected
  • All
Menu

Module solana-utils/lib

Index

Variables

Const Template

Template: typeof Template = ...

Functions

Const createClaimBuffer

  • createClaimBuffer(secret: string): Uint8Array

Const createInitBuffer

  • createInitBuffer(__namedParameters: InitData): Uint8Array

Const createRefundBuffer

  • createRefundBuffer(): Uint8Array

deserialize

  • deserialize(data: string): any

doesTransactionMatchInitiation

  • doesTransactionMatchInitiation(swapParams: SwapParams, transactionParams: InitData): boolean

normalizeBlock

  • normalizeBlock(block: solana.SolanaBlock): Block

normalizeTransaction

  • normalizeTransaction(tx: ParsedConfirmedTransaction, signatureStatus?: any): Transaction<solana.InputTransaction>

validateAddress

  • validateAddress(_address: Address | string): void

validateSecret

  • validateSecret(swapParams: SwapParams, data: { secret: string }): boolean

validateSwapParams

  • validateSwapParams(swapParams: SwapParams): void

Generated using TypeDoc