multichain-api
Version:
MultiChain JSON-RPC Client
21 lines (20 loc) • 750 B
TypeScript
import { RpcRequest } from '../RpcRequest';
import { RpcResponse } from '../RpcResponse';
/**
* JSON-RPC request for the *getassettransaction* command.
*/
export interface GetAssetTransactionRequest extends RpcRequest {
readonly method: 'getassettransaction';
readonly params: [string, string, boolean | undefined];
}
/**
* JSON-RPC response for the *getassettransaction* command.
*/
export interface GetAssetTransactionResponse extends RpcResponse {
readonly result: GetAssetTransactionResult | null;
}
/**
* Result of the *getassettransaction* command.
*/
export declare type GetAssetTransactionResult = any;
export declare function GetAssetTransaction(asset: string, txId: string, verbose?: boolean): GetAssetTransactionRequest;