Discussion

#5
by Dct555 - opened

import {
createDefaultMetadataKeyInterceptor,
getSSLHubRpcClient,
} from '@farcaster/hub-nodejs';

const client = getSSLHubRpcClient('snapchain-grpc-api.neynar.com:443', {
interceptors: [
createDefaultMetadataKeyInterceptor('x-api-key', 'B12CD09D-0C56-476F-BC8C-3D22BDD92C1A'),
],
'grpc.max_receive_message_length': 20 * 1024 * 1024,
});

Sign up or log in to comment