Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @taquito/rpc

Index

References

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

References

OpKind

Re-exports OpKind

Type aliases

BakingRightsArgumentsCycle

BakingRightsArgumentsCycle: number | number[]

BakingRightsArgumentsDelegate

BakingRightsArgumentsDelegate: string | string[]

BakingRightsArgumentsLevel

BakingRightsArgumentsLevel: number | number[]

BakingRightsQueryArguments

BakingRightsResponse

BakingRightsResponse: BakingRightsResponseItem[]

BalanceResponse

BalanceResponse: BigNumber

BalanceUpdateCategoryEnum

BalanceUpdateCategoryEnum: MetadataBalanceUpdatesCategoryEnum

BalanceUpdateKindEnum

BalanceUpdateKindEnum: MetadataBalanceUpdatesKindEnum

BallotListResponse

BallotListResponse: BallotListResponseItem[]

BallotListResponseEnum

BallotListResponseEnum: "nay" | "yay" | "pass"

BigMapGetResponse

BigMapGetResponse: MichelsonV1Expression

BigMapKey

BigMapKey: { key: {}; type: { args?: object[]; prim: string } }

Type declaration

  • key: {}
    • [key: string]: string | object[]
  • type: { args?: object[]; prim: string }
    • Optional args?: object[]
    • prim: string

BigMapResponse

CommitmentsAndCiphertexts

ConstantsResponse

ContractBigMapDiff

ContractBigMapDiff: ContractBigMapDiffItem[]

CurrentProposalResponse

CurrentProposalResponse: string | null

CurrentQuorumResponse

CurrentQuorumResponse: number

DelegateResponse

DelegateResponse: string | null

DiffActionEnum

DiffActionEnum: "update" | "remove" | "copy" | "alloc"

EndorsingRightsArgumentsCycle

EndorsingRightsArgumentsCycle: number | number[]

EndorsingRightsArgumentsDelegate

EndorsingRightsArgumentsDelegate: string | string[]

EndorsingRightsArgumentsLevel

EndorsingRightsArgumentsLevel: number | number[]

EndorsingRightsResponse

EndorsingRightsResponse: EndorsingRightsResponseItem[]

EntrypointsResponse

EntrypointsResponse: { entrypoints: {}; unreachable?: { path: ("Left" | "Right")[] } }

Type declaration

ForgeOperationsParams

ForgeOperationsParams: Pick<OperationObject, "branch" | "contents">

HexString

HexString: string

InlinedEndorsementKindEnum

InlinedEndorsementKindEnum: ENDORSEMENT

InternalOperationResultEnum

InternalOperationResultKindEnum

InternalOperationResultKindEnum: REVEAL | TRANSACTION | ORIGINATION | DELEGATION

LastRemovedCommitmentHashes

LastRemovedCommitmentHashes: { commitment_hash: string; last_message_hash: string }

Type declaration

  • commitment_hash: string
  • last_message_hash: string

LazyStorageDiff

LiquidityBakingToggleVotes

LiquidityBakingToggleVotes: "on" | "off" | "pass"

ManagerKeyResponse

ManagerKeyResponse: string | { key: string }

ManagerResponse

ManagerResponse: { manager: string }

Type declaration

  • manager: string

MetadataBalanceUpdatesCategoryEnum

MetadataBalanceUpdatesCategoryEnum: METADATA_BALANCE_UPDATES_CATEGORY

MetadataBalanceUpdatesKindEnum

MetadataBalanceUpdatesKindEnum: "contract" | "freezer" | "accumulator" | "burned" | "commitment" | "minted"

MetadataBalanceUpdatesOriginEnum

MetadataBalanceUpdatesOriginEnum: "block" | "migration" | "subsidy" | "simulation"

MichelsonV1Expression

Next

Next: { next: number } | { newest: number; oldest: number }

OperationBalanceUpdates

OperationBalanceUpdates: OperationBalanceUpdatesItem[]

OperationContents

OperationContentsAndResult

OperationContentsBallotEnum

OperationContentsBallotEnum: "nay" | "yay" | "pass"

OperationHash

OperationHash: string

OperationResultStatusEnum

OperationResultStatusEnum: "applied" | "failed" | "skipped" | "backtracked"

PeriodKindResponse

PeriodKindResponse: "proposal" | "testing_vote" | "testing" | "promotion_vote" | "exploration" | "cooldown" | "promotion" | "adoption"

PreapplyParams

PreapplyParams: OperationObject[]

PreapplyResponse

PreapplyResponse: { contents: OperationContentsAndResult[] }

Type declaration

ProposalsResponse

ProposalsResponse: ProposalsResponseItem[]

ProposalsResponseItem

ProposalsResponseItem: [string, BigNumber]

ProtocolsResponse

ProtocolsResponse: { next_protocol: string; protocol: string }

Type declaration

  • next_protocol: string
  • protocol: string

RPCRunCodeParam

RPCRunCodeParam: { amount: string; balance?: string; chain_id: string; entrypoint?: string; gas?: string; input: MichelsonV1Expression; level?: string; now?: string; payer?: string; script: MichelsonV1ExpressionExtended[]; self?: string; source?: string; storage: MichelsonV1Expression; unparsing_mode?: UnparsingMode }

Type declaration

RPCRunOperationParam

RPCRunOperationParam: { chain_id: string; operation: OperationObject }

Type declaration

RPCRunViewParam

RPCRunViewParam: { chain_id: string; contract: string; entrypoint: string; gas?: BigNumber; input: MichelsonV1Expression; payer?: string; source?: string; unparsing_mode?: UnparsingModeEnum }

Type declaration

  • chain_id: string
  • contract: string
  • entrypoint: string
  • Optional gas?: BigNumber
  • input: MichelsonV1Expression
  • Optional payer?: string
  • Optional source?: string
  • Optional unparsing_mode?: UnparsingModeEnum

Ratio

Ratio: { denominator: number; numerator: number }

Type declaration

  • denominator: number
  • numerator: number

RunCodeResult

RunCodeResult: { big_map_diff?: ContractBigMapDiff; lazy_storage_diff?: LazyStorageDiff; operations: InternalOperationResult[]; storage: MichelsonV1Expression }

Type declaration

RunViewResult

RunViewResult: { data: MichelsonV1Expression }

Type declaration

SaplingDiffResponse

SaplingDiffResponse: { commitments_and_ciphertexts: CommitmentsAndCiphertexts[]; nullifiers: string[]; root: SaplingTransactionCommitmentHash }

Type declaration

SaplingTransactionCommitment

SaplingTransactionCommitment: string

SaplingTransactionCommitmentHash

SaplingTransactionCommitmentHash: string

ScriptResponse

ScriptResponse: ScriptedContracts

StorageResponse

StorageResponse: ScriptedContracts["storage"]

SuccessfulManagerOperationResultKindEnum

SuccessfulManagerOperationResultKindEnum: REVEAL | TRANSACTION | ORIGINATION | DELEGATION

TimeStampMixed

TimeStampMixed: Date | string

UnparsingMode

UnparsingMode: { unparsing_mode: UnparsingModeEnum }

Type declaration

UnparsingModeEnum

UnparsingModeEnum: "Readable" | "Optimized" | "Optimized_legacy"

VotesListingsResponse

VotesListingsResponse: VotesListingsResponseItem[]

Variables

Const VERSION

VERSION: { commitHash: string; version: string } = ...

Type declaration

  • commitHash: string
  • version: string

Const defaultChain

defaultChain: "main" = 'main'

Const defaultRPCOptions

defaultRPCOptions: RPCOptions = ...

Functions

castToBigNumber

  • castToBigNumber(data: any, keys?: any): object
  • Casts object/array items to BigNumber

    Parameters

    • data: any

      input object or array

    • Optional keys: any

      keys for processing or all items if not defined

    Returns object

Generated using TypeDoc