Skip to content

Commit

Permalink
Added FungiblesApi version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Jul 10, 2023
1 parent 47df39e commit 9a92d42
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/types/src/interfaces/fungibles/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ export const runtime: DefinitionsCall = {
}
},
version: 1
},
{
methods: {
query_account_balances: {
description: 'Returns the list of all `MultiAsset` that an `AccountId` has',
params: [
{
name: 'account',
type: 'AccountId'
}
],
type: 'Result<XcmVersionedMultiAssets, FungiblesAccessError>'
}
},
version: 2
}
]
};

0 comments on commit 9a92d42

Please sign in to comment.