how to do a nomination pool? #620
Closed
lucasportella
started this conversation in
General
Replies: 1 comment
-
Hey, you can check for the future what custom errors mean by looking at the Wiki : https://github.com/availproject/avail/wiki/Transaction-Custom-IDs It means you are using an appId different than 0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
got running the exemple next js project that shows how to do a send, tried to change the line
const tx = api.tx.dataAvailability.submitData("0x123456")
to
const tx = api.tx.nominationPools.join(100, 5)
the method "join" has been working in my other app with polkadot and kusama(although we use the ApiPromise from polkadot lib)
the error I get is:
![image](https://private-user-images.githubusercontent.com/63923113/351425125-18d0b022-426d-4c6f-a104-dd573176f682.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNDc5NDQsIm5iZiI6MTczOTA0NzY0NCwicGF0aCI6Ii82MzkyMzExMy8zNTE0MjUxMjUtMThkMGIwMjItNDI2ZC00YzZmLWExMDQtZGQ1NzMxNzZmNjgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIwNDcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmY2JlOTU0NmVkOTc2MzdhMGEzZjZhYzAyNDE0ZjE4OGNmMmQ1MzZkMTdlNTdhMTYzYzkwODdjNmE1ZWM2OGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.llcLYPVVgqyjPhwMZhzYDiL0gfHlOmg8RONxnexR06Y)
am I missing something or there is a bug?
Beta Was this translation helpful? Give feedback.
All reactions