All Questions
3 questions
0
votes
1
answer
20
views
How to transfer assets from parachain to relay chain
As I'm new to substrate and polkadot I don't know how to transfer assets from parachain to relay chain using xcm can anyone please help me to do this.
1
vote
1
answer
38
views
Polkadot JS query response types are missing
No types for blockchain query responses are available in our IDE.
Doing any query like this
await blockchain.api.query.assets.asset(id, (res) => {
const info = res.toJSON()
console.log(&...
3
votes
0
answers
38
views
How to compare current date with a stored date in a Substrate blockchain module?
I'm working with a Substrate blockchain and have a structure with a field named end_date. I'd like to check if the current date is greater than end_date within a Substrate runtime module, but I'm ...