PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/avalanche/src/apis/evm

Просмотр файла: interfaces.ts

/**
 * @packageDocumentation
 * @module EVM-Interfaces
 */

import { Buffer } from "buffer/"
import { Index, CredsInterface } from "../../common"

export interface GetAssetDescriptionParams {
  assetID: Buffer | string
}

export interface GetAtomicTxStatusParams {
  txID: string
}

export interface GetAtomicTxParams {
  txID: string
}

export interface ExportAVAXParams extends CredsInterface {
  to: string
  amount: string
}

export interface ExportParams extends ExportAVAXParams {
  assetID: string
}

export interface GetUTXOsParams {
  addresses: string[] | string
  limit: number
  sourceChain?: string
  startIndex?: Index
  encoding?: string
}

export interface ImportAVAXParams extends CredsInterface {
  to: string
  sourceChain: string
}

export interface ImportParams extends ImportAVAXParams {}

export interface ImportKeyParams extends CredsInterface {
  privateKey: string
}

export interface ExportKeyParams extends CredsInterface {
  address: string
}

export interface CreateKeyPairResponse {
  address: string
  publicKey: string
  privateKey: string
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!