AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

getMaxRetransmitSlot 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. none

Returns:

  1. result - The slot number encoded as u64, 64-bit unsigned integer

Code Examples:

// not currently supported by solanaJS
const axios = require("axios");
(() => {
  const config = {
    headers: {
      "Content-Type": "application/json",
    },
  };
  const data = {
    jsonrpc: "2.0",
    id: 1,
    method: "getMaxRetransmitSlot",
  };
  axios
    .post("http://sample-endpoint-name.network.quiknode.pro/token-goes-here/", data, config)
    .then(function (response) {
      // handle success
      console.log(response.data);
    })
    .catch((err) => {
      // handle error
      console.log(err);
    });
})();
Ready to get started? Create a free account