picasso-sdk
Version:
Picasso sdk for cosmos, ethereum, solana, and polkadot ibc transfer
47 lines (46 loc) • 1.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
rpc: {
balanceOf: {
description: 'Balance available for the specified account for the specified asset.',
params: [
{
name: 'asset',
type: 'CustomRpcCurrencyId'
},
{
name: 'account',
type: 'AccountId32'
},
{
name: 'at',
type: 'Hash',
isOptional: true
}
],
type: 'CustomRpcBalance'
},
listAssets: {
description: 'Lists the available recognized assets for the runtime.',
params: [
{
name: 'at',
type: 'Hash',
isOptional: true
}
],
type: 'Vec<Asset>'
}
},
types: {
Asset: {
name: 'Vec<u8>',
id: 'u128',
decimals: 'u32',
ratio: 'Option<ComposableTraitsCurrencyRational64>',
foreignId: 'Option<XcmV1MultiLocation>',
existentialDeposit: 'CustomRpcBalance'
}
}
};