@polkadot/types
Version:
Implementation of the Parity codec
35 lines (34 loc) • 1.08 kB
JavaScript
export const runtime = {
FungiblesApi: [
{
methods: {
query_account_balances: {
description: 'Returns the list of all `MultiAsset` that an `AccountId` has',
params: [
{
name: 'account',
type: 'AccountId'
}
],
type: 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>'
}
},
version: 1
},
{
methods: {
query_account_balances: {
description: 'Returns the list of all `MultiAsset` that an `AccountId` has',
params: [
{
name: 'account',
type: 'AccountId'
}
],
type: 'Result<XcmVersionedAssets, FungiblesAccessError>'
}
},
version: 2
}
]
};