kodadot/nft-gallery

View on GitHub
utils/api/bsx/types.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { SubmittableExtrinsicFunction } from '@polkadot/api/types'
import type { AnyTuple } from '@polkadot/types/types'

export type AssetRegistryMetadata = {
  symbol: string
  decimals: number
}

export type ExtrinsicCall = {
  call: SubmittableExtrinsicFunction<'promise', AnyTuple>
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  args: any[]
}