Marketplace has launched, further enabling blockchain developers! Learn more

Contents

platform.issueTx RPC method

The API credit value for this method is 1 . To learn more about API credits and each method's value, visit the API Credits page.

Parameters:

  1. tx - string - the byte representation of a transaction.
  2. encoding - string - (optional) the encoding format for the transaction bytes. Can be either "cb58" or "hex". Defaults to "cb58".

Returns:

  1. txID - string - the transactions id.

Code Examples:

const ethers = require("ethers");

(async () => {
  const provider = new ethers.providers.JsonRpcProvider(
    "http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ext/bc/P"
  );
  const params = {
    "tx": "0x00",
    "encoding": "hex",
  };
  const result = await provider.send("platform.issueTx", params);
  console.log(result);
})();
Ready to get started? Create a free account