---
title: "Getwork — definition | Nuri Glossary"
description: "The original mining protocol for requesting work from a node, replaced by getblocktemplate and Stratum."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/getwork"
---

# Getwork

The original mining protocol for requesting work from a node, replaced by getblocktemplate and Stratum.

## Basically

In plain words, an RPC method used by a miner to get hashing work to try to solve.

## Key Takeaways

- An RPC method used by a miner to get hashing work to try to solve.
- It has mostly been superceded by the newer getblocktemplate mining protocol, but the data format is still often used internal to some miner structures.
- Protocol Getwork is a JSON-RPC method sent over a HTTP transport.

## Background

An RPC method used by a miner to get hashing work to try to solve. It has mostly been superceded by the newer getblocktemplate mining protocol, but the data format is still often used internal to some miner structures. Protocol Getwork is a JSON-RPC method sent over a HTTP transport.

## How It Works

It accepts one optional parameter; if provided, this must be the "data" provided by a prior request modified to meet the server's proof-of-work requirements. Getwork without arguments provides a block header for a miner to find a
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
