• Preparing search index...
  • The search index is not available
@anchor-lang/core - v1.0.1
  • @anchor-lang/core
  • utils
  • registry
  • fetchData

Function fetchData

  • fetchData(connection, programId): Promise<ProgramData>
  • Returns the program data account for this program, containing the metadata for this program, e.g., the upgrade authority.

    Parameters

    • connection: Connection
    • programId: PublicKey

    Returns Promise<ProgramData>

    • Defined in packages/anchor/src/utils/registry.ts:46

Settings

Member Visibility

Theme

@anchor-lang/core - v1.0.1
  • Loading...

Generated using TypeDoc