阿Sai

Results 6 issues of 阿Sai

Hi, "titleTxt" prop have change method? Now I want to switch through the drop-down box above. I want to..

hi, I want to see if a transaction was successful by block hash ``` const hash = await Promise.all([ api.tx.balances.transfer(polkaPnsAddr, amount * 1e10).signAndSend(alice), api.tx.system.remark('i am a remark') ]) ``` I...

<support>
<stackoverflow>

I want to implement payment function(dot、ksm),but I don't know how to add custom parameters to an transaction with API, such as to api.tx.balances.transfer, thanks.

<support>

1. ``` server.post("/worker/signMessage", async (request, reply) => { const keyring = new Keyring({ type: 'sr25519' }); const alice = keyring.addFromUri('//Bob', { name: 'Alice default' }); console.log(`${alice.meta.name}: has address ${alice.address} with...

<support>

``` // http "localhost:8080/worker/transferHash" hash=0xe538bc7a849674eee8a80e13e7d3ef16848884378860d1e15fa7bd5f26fc09e0 server.post("/worker/transferHash", async (request, reply) => { let { pay, hash } = request.body let wsProvider = new WsProvider('wss://rpc.polkadot.io'); if(pay == 'dot') { wsProvider = new...