XUMM SDK

node v10.24.1
version: 1.0.0
endpointsharetweet
const {XummSdk} = require('xumm-sdk') const Sdk = new XummSdk('xxxx-xxxx', 'xxxx') const main = async () => { const payload = { txjson: { TransactionType: 'Payment', Destination: 'rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY', DestinationTag: 495, Amount: 1000000 } } const createdPayload = await Sdk.payload.create(payload, true) console.log({createdPayload}) } main()
Loading…

no comments

    sign in to comment