registerPaymentXpub static method

Future<OverMediaResponse> registerPaymentXpub(
  1. P2PStream stream, {
  2. required String xpub,
  3. required String signature,
  4. required String hostPeerId,
})

Register a payment xpub

Implementation

static Future<OverMediaResponse> registerPaymentXpub(
  P2PStream stream, {
  required String xpub,
  required String signature,
  required String hostPeerId,
}) async {
  return _send(stream, {
    'action': 'register_payment_xpub',
    'params': {
      'xpub': xpub,
      'signature': signature,
      'hostPeerId': hostPeerId,
    },
  });
}