fetchNonce
Usage
import { fetchNonce } from '@stacks/transactions';
const nonce = await fetchNonce({
address: 'ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM',
network: 'testnet',
});
console.log(nonce); // e.g. 42nNotes
Signature
Returns
Parameters
opts.address (required)
opts.network (optional)
opts.client (optional)
Last updated
Was this helpful?