Skip to main content

Function: constructClaim()

function constructClaim(key, body, fees): Claim;

Function to create a claim structure.

Parameters

key: ClaimKey

The key of the claim. This is a unique identifier for the claim.

body: unknown

The body of the claim. This can be arbitrary JSON.

fees: string

The fees stored in the claim. These are CWEB which can later be reclaimed.

Returns

Claim


Coinweb © 2024