multichain-api
Version:
MultiChain JSON-RPC Client
21 lines (20 loc) • 704 B
TypeScript
import { RpcRequest } from '../RpcRequest';
import { RpcResponse } from '../RpcResponse';
/**
* JSON-RPC request for the *decoderawtransaction* command.
*/
export interface DecodeRawTransactionRequest extends RpcRequest {
readonly method: 'decoderawtransaction';
readonly params: [string];
}
/**
* JSON-RPC response for the *decoderawtransaction* command.
*/
export interface DecodeRawTransactionResponse extends RpcResponse {
readonly result: DecodeRawTransactionResult | null;
}
/**
* Result of the *decoderawtransaction* command.
*/
export declare type DecodeRawTransactionResult = any;
export declare function DecodeRawTransaction(transaction: string): DecodeRawTransactionRequest;