Vine Docs
  • Overview
    • What is Vine?
    • Layer 0 Architecture
    • Key Features
    • Network Components
  • Core Concepts
    • Layer 0 Protocol Design
    • Architecture Design
    • Node Architecture
    • Parachains
    • EVM & WASM Support
    • Nominated Proof of Stake (NPoS)
    • How NPoS Works
    • Vine Coin (VNE) and Governance
    • Transaction Fees
  • Validators
    • Who are Validators?
    • Validator Node Types
    • Validator's Guide
      • Step 1 - Validator dApp
      • Step 2 - Dashboard
      • Step 3 - Validator Setup
      • Step 4 - Validators Page
    • Manage Account
    • Validator Node Setup
      • Validator System Requirements
      • Guidelines & Precautions
  • Nominators
    • Who are Nominators?
    • Nominator dApp
    • Becoming a Nominator
      • Step 1 - Login
      • Step 2 - Dashboard
      • Step 3 - Validators Page
      • Step 4 - Nominate Validators
    • Manage Account
  • Staking, Slashing & Chilling
    • Staking
    • Slashing Guide
    • Chilling
  • Parallel Chains
    • Overview
    • Block Parameters
    • Substrate Framework-Based
    • Asset Movement
    • Pros and Cons
    • Interoperability
    • Application-Specific Parallel Chains
  • Vine RPC Calls
    • Overview
    • RPC Calls
      • Author
      • Babe
      • Beefy
      • Chain
      • childstate
      • contracts
      • dev
      • engine
      • grandpa
      • mmr
      • offchain
      • payment
      • rpc
      • state
      • syncstate
      • system
  • Vine Explorer
    • Overview
    • How to Use
      • Dashboard
      • Transaction Details
      • Block Details
      • Telemetry
      • Map View
      • Globe View
      • TPS History
      • Vine Testnet Faucet
      • Token Module
      • Contracts
  • Zen Wallet
    • Overview
    • How to Use
      • Create Account
      • Account Login
      • Dashboard
      • Balance
      • Statements
      • Send
      • Keys
      • Swap
      • Balance
      • Multisig Login
        • How To
        • Balance
        • Send
  • Additional Resources
    • Glossary
      • Blockchain
      • Node
      • Validator Node
      • Full Node
      • Validators
      • Nominators
      • Mnemonics
      • Stake
      • Slashing
      • Chilling
      • Parallel Chain
      • Era
      • Uptime
      • APY
      • Waiting State of Validator
      • Active State of Validator
      • Inactive State of Validator
      • Non-Custodial Wallet
      • Custodial Wallet
      • Points
Powered by GitBook
On this page
  1. Vine RPC Calls
  2. RPC Calls

Chain

Method Name: getBlock

Parameters: Hash - BlockHash

Return Type: SignedBlock​

  • interface: api.rpc.chain.getBlock

  • jsonrpc: chain_getBlock

The getBlock method gets the header and body of a relay chain block for the given parameter Hash.

Method Name: getBlockHash

Parameters: blockNumber - BlockNumber

Return Type: BlockHash

  • interface: api.rpc.chain.getBlockHash

  • jsonrpc: chain_getBlockHash

The getBlockHash method gets the block hash for a specific block for the given parameter BlockHash​.

Method Name : getFinalizedHead

Parameters: -

Return Type: BlockHash​

  • interface: api.rpc.chain.getFinalizedHead

  • jsonrpc: chain_getFinalizedHead

The getFinalizedHead method gets the hash of the last finalised block in the canon chain​.

Method Name: getHeader

Parameter: hash - BlockHash

Return Type: Header​

  • interface: api.rpc.chain.subscribeAllHeads

  • jsonrpc: chain_subscribeAllHeads

The getHeader method retrieves the header for a specific block.

Method Name: subscribeAllHeads

Parameters: -

Return Type: Header​

  • interface: api.rpc.chain.subscribeAllHeads

  • jsonrpc: chain_subscribeAllHeads

The getHeader method retrieves the header for a specific block.

Method Name: subscribeFinalizedHeads

Parameter -

Return Type: Header​

  • interface: api.rpc.chain.subscribeFinalizedHeads

  • jsonrpc: chain_subscribeFinalizedHeads

The subscribeFinalizedHeads method retrieves the best finalized header via subscription.

Method Name: subscribeNewHeads

Parameter: -

Return Type: Header​

  • interface: api.rpc.chain.subscribeNewHeads

  • jsonrpc: chain_subscribeNewHeads

The subscribeNewHeads method retrieves the best header via subscription.

PreviousBeefyNextchildstate

Last updated 4 months ago