MCPcopy Create free account
hub / github.com/api3dao/airnode / getAirnodeWalletPrivateKey

Function getAirnodeWalletPrivateKey

packages/airnode-node/src/config/index.ts:101–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101export function getAirnodeWalletPrivateKey() {
102 const airnodeWalletPrivateKey = getEnvValue('AIRNODE_WALLET_PRIVATE_KEY');
103 if (!airnodeWalletPrivateKey) {
104 throw new Error('Missing Airnode wallet private key in environment variables.');
105 }
106 return airnodeWalletPrivateKey;
107}

Callers 1

Calls 1

getEnvValueFunction · 0.85

Tested by

no test coverage detected