Skip to content

Commit

Permalink
return human readable response
Browse files Browse the repository at this point in the history
  • Loading branch information
eshaben committed Nov 13, 2023
1 parent 123d577 commit 6bbba00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getXc20s = async () => {
]) => {
const metadata = await api.query.assets.metadata(id);
console.log(`Asset ID: ${id}`);
console.log(`Metadata: ${metadata}`);
console.log(`Metadata: ${metadata.toHuman()}`);
console.log('-----');
}
);
Expand Down

0 comments on commit 6bbba00

Please sign in to comment.