Variable ParamsFormatterConst

ParamsFormatter: {
    toArray: ((format?) => ((arg) => any));
    toBoolean: ((value) => boolean);
    toCellDep: ((cellDep) => CellDep);
    toDepType: ((type) => "code" | "dep_group");
    toGetCellsSearchKey: ((data) => GetCellsSearchKey);
    toGetTransactionsSearchKey: ((data) => GetTransactionsSearchKey);
    toHash: ((hash) => string);
    toInput: ((input) => CellInput);
    toNumber: ((number) => string);
    toOptional: ((format?) => ((arg) => any));
    toOrder: ((order) => Order);
    toOutPoint: ((outPoint) => OutPoint);
    toOutput: ((output) => CellOutput);
    toOutputsValidator: ((outputsValidator) => undefined | "default" | "passthrough");
    toPageNumber: ((pageNo?) => string);
    toPageSize: ((pageSize?) => string);
    toRawTransaction: ((transaction) => RawTransaction);
    toReverseOrder: ((reverse?) => boolean);
    toScript: ((script) => Script);
    toSearchFilter: ((data) => SearchFilter);
    toSearchKey: ((data) => SearchKey);
    toTransactionAndWitnessProof: ((proof) => TransactionAndWitnessProof);
    toTransactionProof: ((proof) => TransactionProof);
} = paramsFormatter

Type declaration

  • toArray: ((format?) => ((arg) => any))
      • (format?): ((arg) => any)
      • Parameters

        • Optional format: ((args) => any)
            • (args): any
            • Parameters

              • args: any

              Returns any

        Returns ((arg) => any)

          • (arg): any
          • Parameters

            • arg: any

            Returns any

  • toBoolean: ((value) => boolean)
      • (value): boolean
      • Parameters

        • value: boolean

        Returns boolean

  • toCellDep: ((cellDep) => CellDep)
      • (cellDep): CellDep
      • Parameters

        Returns CellDep

  • toDepType: ((type) => "code" | "dep_group")
      • (type): "code" | "dep_group"
      • Parameters

        • type: DepType

        Returns "code" | "dep_group"

  • toGetCellsSearchKey: ((data) => GetCellsSearchKey)
      • (data): GetCellsSearchKey
      • Parameters

        • data: GetCellsSearchKey<boolean>

        Returns GetCellsSearchKey

  • toGetTransactionsSearchKey: ((data) => GetTransactionsSearchKey)
      • (data): GetTransactionsSearchKey
      • Parameters

        • data: GetTransactionsSearchKey<boolean>

        Returns GetTransactionsSearchKey

  • toHash: ((hash) => string)
      • (hash): string
      • Parameters

        • hash: string

        Returns string

  • toInput: ((input) => CellInput)
      • (input): CellInput
      • Parameters

        Returns CellInput

  • toNumber: ((number) => string)
      • (number): string
      • Parameters

        • number: string | bigint

        Returns string

  • toOptional: ((format?) => ((arg) => any))
      • (format?): ((arg) => any)
      • Parameters

        • Optional format: ((args) => any)
            • (args): any
            • Parameters

              • args: any

              Returns any

        Returns ((arg) => any)

          • (arg): any
          • Parameters

            • arg: any

            Returns any

  • toOrder: ((order) => Order)
      • (order): Order
      • Parameters

        • order: Order

        Returns Order

  • toOutPoint: ((outPoint) => OutPoint)
      • (outPoint): OutPoint
      • Parameters

        Returns OutPoint

  • toOutput: ((output) => CellOutput)
      • (output): CellOutput
      • Parameters

        Returns CellOutput

  • toOutputsValidator: ((outputsValidator) => undefined | "default" | "passthrough")
      • (outputsValidator): undefined | "default" | "passthrough"
      • Parameters

        • outputsValidator: OutputsValidator

        Returns undefined | "default" | "passthrough"

  • toPageNumber: ((pageNo?) => string)
      • (pageNo?): string
      • Parameters

        • pageNo: string | bigint = "0x1"

        Returns string

  • toPageSize: ((pageSize?) => string)
      • (pageSize?): string
      • Parameters

        • pageSize: string | bigint = "0x32"

        Returns string

  • toRawTransaction: ((transaction) => RawTransaction)
      • (transaction): RawTransaction
      • Parameters

        • transaction: RawTransaction

        Returns RawTransaction

  • toReverseOrder: ((reverse?) => boolean)
      • (reverse?): boolean
      • Parameters

        • reverse: boolean = false

        Returns boolean

  • toScript: ((script) => Script)
      • (script): Script
      • Parameters

        Returns Script

  • toSearchFilter: ((data) => SearchFilter)
      • (data): SearchFilter
      • Parameters

        • data: SearchFilter

        Returns SearchFilter

  • toSearchKey: ((data) => SearchKey)
      • (data): SearchKey
      • Parameters

        • data: SearchKey

        Returns SearchKey

  • toTransactionAndWitnessProof: ((proof) => TransactionAndWitnessProof)
      • (proof): TransactionAndWitnessProof
      • Parameters

        • proof: TransactionAndWitnessProof

        Returns TransactionAndWitnessProof

  • toTransactionProof: ((proof) => TransactionProof)
      • (proof): TransactionProof
      • Parameters

        Returns TransactionProof

Generated using TypeDoc