DeFiCh/jellyfish

View on GitHub
packages/jellyfish-api-core/src/category/blockchain.ts

Summary

Maintainability
B
5 hrs
Test Coverage

File blockchain.ts has 294 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import BigNumber from 'bignumber.js'
import { ApiClient } from '../.'

/**
 * Blockchain RPCs for DeFi Blockchain
Severity: Minor
Found in packages/jellyfish-api-core/src/category/blockchain.ts - About 3 hrs to fix

    Blockchain has 21 functions (exceeds 20 allowed). Consider refactoring.
    Open

    export class Blockchain {
      private readonly client: ApiClient
    
      constructor (client: ApiClient) {
        this.client = client
    Severity: Minor
    Found in packages/jellyfish-api-core/src/category/blockchain.ts - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status