rosetta-sdk-typescript
Version:
Typescript SDK to create and interact with Rosetta API implementations.
41 lines (40 loc) • 1.5 kB
TypeScript
/**
* Rosetta
* Build Once. Integrate Your Blockchain Everywhere.
*
* The version of the OpenAPI document: 1.4.10
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { NetworkIdentifier } from './';
/**
* ConstructionParseRequest is the input to the `/construction/parse` endpoint. It allows the caller to parse either an unsigned or signed transaction.
* @export
* @interface ConstructionParseRequest
*/
export interface ConstructionParseRequest {
/**
*
* @type {NetworkIdentifier}
* @memberof ConstructionParseRequest
*/
network_identifier: NetworkIdentifier;
/**
* Signed is a boolean indicating whether the transaction is signed.
* @type {boolean}
* @memberof ConstructionParseRequest
*/
signed: boolean;
/**
* This must be either the unsigned transaction blob returned by `/construction/payloads` or the signed transaction blob returned by `/construction/combine`.
* @type {string}
* @memberof ConstructionParseRequest
*/
transaction: string;
}
export declare function ConstructionParseRequestFromJSON(json: any): ConstructionParseRequest;
export declare function ConstructionParseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConstructionParseRequest;
export declare function ConstructionParseRequestToJSON(value?: ConstructionParseRequest | null): any;