Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Erc721Standard

Hierarchy

Implements

Index

Constructors

Properties

abi: AbiItem[]
contractAddress?: string

Accessors

  • get account(): Account
  • Returns the Account associated with this connection

    Returns Account

  • get web3(): default
  • Returns the Web3 class assigned to this connection

    Returns default

Methods

  • connect(): Promise<boolean>
  • deploy(deployOptions: DeployOptions, account?: Account): Promise<TransactionReceipt<any>>
  • Deploy the loaded abi contract

    Parameters

    • deployOptions: DeployOptions
    • Optional account: Account

    Returns Promise<TransactionReceipt<any>>

  • deployJsonAbi(name: string, symbol: string): Promise<TransactionReceipt<any>>
  • exists(tokenId: number): Promise<boolean>
  • loadAbi(): void
  • loadContract(): void
  • mint(to: string, tokenId: number, data?: string): Promise<TransactionReceipt<any>>
  • sendTx(method: ContractSendMethod, value?: any): Promise<TransactionReceipt<any>>
  • Interact with, or change a value of, a property on the contract

    Parameters

    • method: ContractSendMethod
    • Optional value: any

    Returns Promise<TransactionReceipt<any>>

  • sendUnsignedTx(method: ContractSendMethod, value?: any, __namedParameters?: Partial<Web3ConnectionOptions>): Promise<TransactionReceipt<any>>
  • setBaseURI(baseURI: string): Promise<TransactionReceipt<any>>
  • setTokenURI(tokenId: number, uri: string): Promise<TransactionReceipt<any>>
  • start(): Promise<void>

Generated using TypeDoc