#asknostr #devs #lnd

Anyone got a working example of LND TrackPayment via REST?

I try this....

curl -k --header "Grpc-Metadata-macaroon:02010304whatevs" https://f.q.d.n:11234/v2/router/track/{payment_hash}

where {payment_hash} is passed as hexadecimal (string 64 in length for 32 bytes).

error returned claims invalid hash length of 48, want 32

my next move is to convert to bytes and base64 as that error about 48 could be thinking the 64 passed in is in base64.

Reply to this note

Please Login to reply.