sdk/js: Add extraGrpcOpts to getSignedVAA()
Change-Id: Id756455ddc9a2d98d001bad6b8f7ff05392f22d4
This commit is contained in:
parent
eb4f6e57c8
commit
70596937e0
|
@ -8,9 +8,10 @@ export async function getSignedVAA(
|
|||
host: string,
|
||||
emitterChain: ChainId,
|
||||
emitterAddress: string,
|
||||
sequence: string
|
||||
sequence: string,
|
||||
extraGrpcOpts = {}
|
||||
) {
|
||||
const rpc = new GrpcWebImpl(host, {});
|
||||
const rpc = new GrpcWebImpl(host, extraGrpcOpts);
|
||||
const api = new PublicRPCServiceClientImpl(rpc);
|
||||
return await api.GetSignedVAA({
|
||||
messageId: {
|
||||
|
|
Loading…
Reference in New Issue