@substrate/api-sidecar
Version:
REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
13 lines (12 loc) • 478 B
TypeScript
import { BlockHash } from '@polkadot/types/interfaces';
import { IForeignAssets } from '../../types/responses';
import { AbstractService } from '../AbstractService';
export declare class PalletsForeignAssetsService extends AbstractService {
constructor(api: string);
/**
* Fetch all foreign asset's `AssetDetails` and `AssetMetadata`.
*
* @param hash `BlockHash` to make call at
*/
fetchForeignAssets(hash: BlockHash): Promise<IForeignAssets>;
}