casper-js-sdk
Version:
SDK to interact with the Casper blockchain
29 lines (28 loc) • 881 B
TypeScript
import { HexBytes } from './HexBytes';
import { Hash } from './key';
/**
* Represents a gas pre-payment in the blockchain system.
*
* This container includes details about the receipt, prepayment kind,
* and associated data required for the gas pre-payment process.
*/
export declare class PrepaymentKind {
/**
* The receipt identifier for the gas pre-payment.
*
* This is a string representation that uniquely identifies the pre-payment receipt.
*/
receipt: Hash;
/**
* The kind of pre-payment, represented as a byte.
*
* This value specifies the type or category of the pre-payment.
*/
prepaymentData: HexBytes;
/**
* The pre-payment data associated with this transaction.
*
* This is a string containing additional information or metadata for the pre-payment.
*/
prepaymentKind: number;
}