Line data Source code
1 : // This file is generated by genkeywords.cxx. DO NOT EDIT DIRECTLY! 2 : #include "keywords.h" 3 0 : long fd_webserver_json_keyword(const char* keyw, unsigned long keyw_sz) { 4 0 : switch (keyw_sz) { 5 0 : case 2: 6 0 : if ((*(unsigned long*)&keyw[0] & 0xFFFFUL) == 0x6469UL) { 7 0 : return KEYW_JSON_ID; // "id" 8 0 : } 9 0 : break; 10 0 : case 4: 11 0 : if ((*(unsigned long*)&keyw[0] & 0xFFFFFFFFUL) == 0x746E696DUL) { 12 0 : return KEYW_JSON_MINT; // "mint" 13 0 : } 14 0 : break; 15 0 : case 5: 16 0 : switch (keyw[0]) { 17 0 : case 'b': 18 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFUL) == 0x73657479UL) { 19 0 : return KEYW_JSON_BYTES; // "bytes" 20 0 : } 21 0 : break; 22 0 : case 'e': 23 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFUL) == 0x68636F70UL) { 24 0 : return KEYW_JSON_EPOCH; // "epoch" 25 0 : } 26 0 : break; 27 0 : case 'l': 28 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFUL) == 0x74696D69UL) { 29 0 : return KEYW_JSON_LIMIT; // "limit" 30 0 : } 31 0 : break; 32 0 : } 33 0 : break; 34 0 : case 6: 35 0 : switch (keyw[0]) { 36 0 : case 'b': 37 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFUL) == 0x65726F6665UL) { 38 0 : return KEYW_JSON_BEFORE; // "before" 39 0 : } 40 0 : break; 41 0 : case 'l': 42 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFUL) == 0x6874676E65UL) { 43 0 : return KEYW_JSON_LENGTH; // "length" 44 0 : } 45 0 : break; 46 0 : case 'm': 47 0 : if (keyw[1] == 'e') { 48 0 : switch (keyw[2]) { 49 0 : case 'm': 50 0 : if ((*(unsigned long*)&keyw[3] & 0xFFFFFFUL) == 0x706D63UL) { 51 0 : return KEYW_JSON_MEMCMP; // "memcmp" 52 0 : } 53 0 : break; 54 0 : case 't': 55 0 : if ((*(unsigned long*)&keyw[3] & 0xFFFFFFUL) == 0x646F68UL) { 56 0 : return KEYW_JSON_METHOD; // "method" 57 0 : } 58 0 : break; 59 0 : } 60 0 : } 61 0 : break; 62 0 : case 'o': 63 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFUL) == 0x7465736666UL) { 64 0 : return KEYW_JSON_OFFSET; // "offset" 65 0 : } 66 0 : break; 67 0 : case 'p': 68 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFUL) == 0x736D617261UL) { 69 0 : return KEYW_JSON_PARAMS; // "params" 70 0 : } 71 0 : break; 72 0 : } 73 0 : break; 74 0 : case 7: 75 0 : switch (keyw[0]) { 76 0 : case 'r': 77 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFFFUL) == 0x736472617765UL) { 78 0 : return KEYW_JSON_REWARDS; // "rewards" 79 0 : } 80 0 : break; 81 0 : case 'j': 82 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFFFUL) == 0x6370726E6F73UL) { 83 0 : return KEYW_JSON_JSONRPC; // "jsonrpc" 84 0 : } 85 0 : break; 86 0 : case 'f': 87 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFFFUL) == 0x737265746C69UL) { 88 0 : return KEYW_JSON_FILTERS; // "filters" 89 0 : } 90 0 : break; 91 0 : case 'g': 92 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 93 0 : switch (keyw[3]) { 94 0 : case 'F': 95 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFUL) == 0x736565UL) { 96 0 : return KEYW_RPCMETHOD_GETFEES; // "getFees" 97 0 : } 98 0 : break; 99 0 : case 'S': 100 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFUL) == 0x746F6CUL) { 101 0 : return KEYW_RPCMETHOD_GETSLOT; // "getSlot" 102 0 : } 103 0 : break; 104 0 : } 105 0 : } 106 0 : break; 107 0 : } 108 0 : break; 109 0 : case 8: 110 0 : switch (keyw[0]) { 111 0 : case 'd': 112 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFFFFFUL) == 0x657A6953617461UL) { 113 0 : return KEYW_JSON_DATASIZE; // "dataSize" 114 0 : } 115 0 : break; 116 0 : case 'e': 117 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFFFFFUL) == 0x676E69646F636EUL) { 118 0 : return KEYW_JSON_ENCODING; // "encoding" 119 0 : } 120 0 : break; 121 0 : case 'g': 122 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFFFFFUL) == 0x6B636F6C427465UL) { 123 0 : return KEYW_RPCMETHOD_GETBLOCK; // "getBlock" 124 0 : } 125 0 : break; 126 0 : case 'i': 127 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFFFFFFFFFFFUL) == 0x797469746E6564UL) { 128 0 : return KEYW_JSON_IDENTITY; // "identity" 129 0 : } 130 0 : break; 131 0 : } 132 0 : break; 133 0 : case 9: 134 0 : switch (keyw[0]) { 135 0 : case 'd': 136 0 : if (*(unsigned long*)&keyw[1] == 0x6563696C53617461UL) { 137 0 : return KEYW_JSON_DATASLICE; // "dataSlice" 138 0 : } 139 0 : break; 140 0 : case 'g': 141 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 142 0 : switch (keyw[3]) { 143 0 : case 'B': 144 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFFFFFUL) == 0x736B636F6CUL) { 145 0 : return KEYW_RPCMETHOD_GETBLOCKS; // "getBlocks" 146 0 : } 147 0 : break; 148 0 : case 'H': 149 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFFFFFUL) == 0x68746C6165UL) { 150 0 : return KEYW_RPCMETHOD_GETHEALTH; // "getHealth" 151 0 : } 152 0 : break; 153 0 : case 'S': 154 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFFFFFUL) == 0x796C707075UL) { 155 0 : return KEYW_RPCMETHOD_GETSUPPLY; // "getSupply" 156 0 : } 157 0 : break; 158 0 : } 159 0 : } 160 0 : break; 161 0 : case 'p': 162 0 : if (*(unsigned long*)&keyw[1] == 0x64496D6172676F72UL) { 163 0 : return KEYW_JSON_PROGRAMID; // "programId" 164 0 : } 165 0 : break; 166 0 : } 167 0 : break; 168 0 : case 10: 169 0 : switch (keyw[0]) { 170 0 : case 'c': 171 0 : if (*(unsigned long*)&keyw[1] == 0x6E656D74696D6D6FUL && keyw[9] == 't') { 172 0 : return KEYW_JSON_COMMITMENT; // "commitment" 173 0 : } 174 0 : break; 175 0 : case 'g': 176 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 177 0 : switch (keyw[3]) { 178 0 : case 'B': 179 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFFFFFFFUL) == 0x65636E616C61UL) { 180 0 : return KEYW_RPCMETHOD_GETBALANCE; // "getBalance" 181 0 : } 182 0 : break; 183 0 : case 'V': 184 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFFFFFFFUL) == 0x6E6F69737265UL) { 185 0 : return KEYW_RPCMETHOD_GETVERSION; // "getVersion" 186 0 : } 187 0 : break; 188 0 : } 189 0 : } 190 0 : break; 191 0 : case 'm': 192 0 : if (*(unsigned long*)&keyw[1] == 0x6569727465527861UL && keyw[9] == 's') { 193 0 : return KEYW_JSON_MAXRETRIES; // "maxRetries" 194 0 : } 195 0 : break; 196 0 : case 'v': 197 0 : if (*(unsigned long*)&keyw[1] == 0x656B62755065746FUL && keyw[9] == 'y') { 198 0 : return KEYW_JSON_VOTEPUBKEY; // "votePubkey" 199 0 : } 200 0 : break; 201 0 : } 202 0 : break; 203 0 : case 11: 204 0 : if (*(unsigned long*)&keyw[0] == 0x746E656449746567UL && (*(unsigned long*)&keyw[8] & 0xFFFFFFUL) == 0x797469UL) { 205 0 : return KEYW_RPCMETHOD_GETIDENTITY; // "getIdentity" 206 0 : } 207 0 : break; 208 0 : case 12: 209 0 : if ((*(unsigned long*)&keyw[0] & 0xFFFFFFUL) == 0x746567UL) { 210 0 : switch (keyw[3]) { 211 0 : case 'B': 212 0 : if (*(unsigned long*)&keyw[4] == 0x656D69546B636F6CUL) { 213 0 : return KEYW_RPCMETHOD_GETBLOCKTIME; // "getBlockTime" 214 0 : } 215 0 : break; 216 0 : case 'E': 217 0 : if (*(unsigned long*)&keyw[4] == 0x6F666E4968636F70UL) { 218 0 : return KEYW_RPCMETHOD_GETEPOCHINFO; // "getEpochInfo" 219 0 : } 220 0 : break; 221 0 : } 222 0 : } 223 0 : break; 224 0 : case 13: 225 0 : switch (keyw[0]) { 226 0 : case 'g': 227 0 : if (*(unsigned long*)&keyw[1] == 0x654C746F6C537465UL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFUL) == 0x72656461UL) { 228 0 : return KEYW_RPCMETHOD_GETSLOTLEADER; // "getSlotLeader" 229 0 : } 230 0 : break; 231 0 : case 'l': 232 0 : if (*(unsigned long*)&keyw[1] == 0x637362755373676FUL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFUL) == 0x65626972UL) { 233 0 : return KEYW_WS_METHOD_LOGSSUBSCRIBE; // "logsSubscribe" 234 0 : } 235 0 : break; 236 0 : case 'r': 237 0 : if (*(unsigned long*)&keyw[1] == 0x6373627553746F6FUL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFUL) == 0x65626972UL) { 238 0 : return KEYW_WS_METHOD_ROOTSUBSCRIBE; // "rootSubscribe" 239 0 : } 240 0 : break; 241 0 : case 's': 242 0 : switch (keyw[1]) { 243 0 : case 'k': 244 0 : if (*(unsigned long*)&keyw[2] == 0x696C666572507069UL && (*(unsigned long*)&keyw[10] & 0xFFFFFFUL) == 0x746867UL) { 245 0 : return KEYW_SKIPPREFLIGHT; // "skipPreflight" 246 0 : } 247 0 : break; 248 0 : case 'l': 249 0 : if (*(unsigned long*)&keyw[2] == 0x726373627553746FUL && (*(unsigned long*)&keyw[10] & 0xFFFFFFUL) == 0x656269UL) { 250 0 : return KEYW_WS_METHOD_SLOTSUBSCRIBE; // "slotSubscribe" 251 0 : } 252 0 : break; 253 0 : } 254 0 : break; 255 0 : case 'v': 256 0 : if (*(unsigned long*)&keyw[1] == 0x637362755365746FUL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFUL) == 0x65626972UL) { 257 0 : return KEYW_WS_METHOD_VOTESUBSCRIBE; // "voteSubscribe" 258 0 : } 259 0 : break; 260 0 : } 261 0 : break; 262 0 : case 14: 263 0 : switch (keyw[0]) { 264 0 : case 'b': 265 0 : if (*(unsigned long*)&keyw[1] == 0x736275536B636F6CUL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFUL) == 0x6562697263UL) { 266 0 : return KEYW_WS_METHOD_BLOCKSUBSCRIBE; // "blockSubscribe" 267 0 : } 268 0 : break; 269 0 : case 'g': 270 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 271 0 : switch (keyw[3]) { 272 0 : case 'A': 273 0 : if (*(unsigned long*)&keyw[4] == 0x6E49746E756F6363UL && (*(unsigned long*)&keyw[12] & 0xFFFFUL) == 0x6F66UL) { 274 0 : return KEYW_RPCMETHOD_GETACCOUNTINFO; // "getAccountInfo" 275 0 : } 276 0 : break; 277 0 : case 'B': 278 0 : if (*(unsigned long*)&keyw[4] == 0x676965486B636F6CUL && (*(unsigned long*)&keyw[12] & 0xFFFFUL) == 0x7468UL) { 279 0 : return KEYW_RPCMETHOD_GETBLOCKHEIGHT; // "getBlockHeight" 280 0 : } 281 0 : break; 282 0 : case 'G': 283 0 : if (*(unsigned long*)&keyw[4] == 0x6148736973656E65UL && (*(unsigned long*)&keyw[12] & 0xFFFFUL) == 0x6873UL) { 284 0 : return KEYW_RPCMETHOD_GETGENESISHASH; // "getGenesisHash" 285 0 : } 286 0 : break; 287 0 : case 'S': 288 0 : if (*(unsigned long*)&keyw[4] == 0x656461654C746F6CUL && (*(unsigned long*)&keyw[12] & 0xFFFFUL) == 0x7372UL) { 289 0 : return KEYW_RPCMETHOD_GETSLOTLEADERS; // "getSlotLeaders" 290 0 : } 291 0 : break; 292 0 : case 'T': 293 0 : switch (keyw[4]) { 294 0 : case 'o': 295 0 : if (*(unsigned long*)&keyw[5] == 0x6C707075536E656BUL && keyw[13] == 'y') { 296 0 : return KEYW_RPCMETHOD_GETTOKENSUPPLY; // "getTokenSupply" 297 0 : } 298 0 : break; 299 0 : case 'r': 300 0 : if (*(unsigned long*)&keyw[5] == 0x6F69746361736E61UL && keyw[13] == 'n') { 301 0 : return KEYW_RPCMETHOD_GETTRANSACTION; // "getTransaction" 302 0 : } 303 0 : break; 304 0 : } 305 0 : break; 306 0 : } 307 0 : } 308 0 : break; 309 0 : case 'm': 310 0 : if (*(unsigned long*)&keyw[1] == 0x7865746E6F436E69UL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFUL) == 0x746F6C5374UL) { 311 0 : return KEYW_JSON_MINCONTEXTSLOT; // "minContextSlot" 312 0 : } 313 0 : break; 314 0 : case 'r': 315 0 : if (*(unsigned long*)&keyw[1] == 0x6941747365757165UL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFUL) == 0x706F726472UL) { 316 0 : return KEYW_RPCMETHOD_REQUESTAIRDROP; // "requestAirdrop" 317 0 : } 318 0 : break; 319 0 : } 320 0 : break; 321 0 : case 15: 322 0 : switch (keyw[0]) { 323 0 : case 'g': 324 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 325 0 : switch (keyw[3]) { 326 0 : case 'C': 327 0 : if (*(unsigned long*)&keyw[4] == 0x6F4E72657473756CUL && (*(unsigned long*)&keyw[12] & 0xFFFFFFUL) == 0x736564UL) { 328 0 : return KEYW_RPCMETHOD_GETCLUSTERNODES; // "getClusterNodes" 329 0 : } 330 0 : break; 331 0 : case 'S': 332 0 : if (*(unsigned long*)&keyw[4] == 0x53746F687370616EUL && (*(unsigned long*)&keyw[12] & 0xFFFFFFUL) == 0x746F6CUL) { 333 0 : return KEYW_RPCMETHOD_GETSNAPSHOTSLOT; // "getSnapshotSlot" 334 0 : } 335 0 : break; 336 0 : case 'V': 337 0 : if (*(unsigned long*)&keyw[4] == 0x756F63634165746FUL && (*(unsigned long*)&keyw[12] & 0xFFFFFFUL) == 0x73746EUL) { 338 0 : return KEYW_RPCMETHOD_GETVOTEACCOUNTS; // "getVoteAccounts" 339 0 : } 340 0 : break; 341 0 : } 342 0 : } 343 0 : break; 344 0 : case 'l': 345 0 : if (*(unsigned long*)&keyw[1] == 0x6275736E5573676FUL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFFFUL) == 0x656269726373UL) { 346 0 : return KEYW_WS_METHOD_LOGSUNSUBSCRIBE; // "logsUnsubscribe" 347 0 : } 348 0 : break; 349 0 : case 'r': 350 0 : switch (keyw[1]) { 351 0 : case 'e': 352 0 : if (*(unsigned long*)&keyw[2] == 0x636F6C42746E6563UL && (*(unsigned long*)&keyw[10] & 0xFFFFFFFFFFUL) == 0x687361686BUL) { 353 0 : return KEYW_JSON_RECENTBLOCKHASH; // "recentBlockhash" 354 0 : } 355 0 : break; 356 0 : case 'o': 357 0 : if (*(unsigned long*)&keyw[2] == 0x736275736E55746FUL && (*(unsigned long*)&keyw[10] & 0xFFFFFFFFFFUL) == 0x6562697263UL) { 358 0 : return KEYW_WS_METHOD_ROOTUNSUBSCRIBE; // "rootUnsubscribe" 359 0 : } 360 0 : break; 361 0 : } 362 0 : break; 363 0 : case 's': 364 0 : switch (keyw[1]) { 365 0 : case 'e': 366 0 : if (*(unsigned long*)&keyw[2] == 0x61736E617254646EUL && (*(unsigned long*)&keyw[10] & 0xFFFFFFFFFFUL) == 0x6E6F697463UL) { 367 0 : return KEYW_RPCMETHOD_SENDTRANSACTION; // "sendTransaction" 368 0 : } 369 0 : break; 370 0 : case 'l': 371 0 : if (*(unsigned long*)&keyw[2] == 0x736275736E55746FUL && (*(unsigned long*)&keyw[10] & 0xFFFFFFFFFFUL) == 0x6562697263UL) { 372 0 : return KEYW_WS_METHOD_SLOTUNSUBSCRIBE; // "slotUnsubscribe" 373 0 : } 374 0 : break; 375 0 : } 376 0 : break; 377 0 : case 'v': 378 0 : if (*(unsigned long*)&keyw[1] == 0x6275736E5565746FUL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFFFUL) == 0x656269726373UL) { 379 0 : return KEYW_WS_METHOD_VOTEUNSUBSCRIBE; // "voteUnsubscribe" 380 0 : } 381 0 : break; 382 0 : } 383 0 : break; 384 0 : case 16: 385 0 : switch (keyw[0]) { 386 0 : case 'a': 387 0 : if (*(unsigned long*)&keyw[1] == 0x7553746E756F6363UL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFFFFFUL) == 0x65626972637362UL) { 388 0 : return KEYW_WS_METHOD_ACCOUNTSUBSCRIBE; // "accountSubscribe" 389 0 : } 390 0 : break; 391 0 : case 'b': 392 0 : if (*(unsigned long*)&keyw[1] == 0x75736E556B636F6CUL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFFFFFUL) == 0x65626972637362UL) { 393 0 : return KEYW_WS_METHOD_BLOCKUNSUBSCRIBE; // "blockUnsubscribe" 394 0 : } 395 0 : break; 396 0 : case 'g': 397 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 398 0 : switch (keyw[3]) { 399 0 : case 'E': 400 0 : if (*(unsigned long*)&keyw[4] == 0x6568635368636F70UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFUL) == 0x656C7564UL) { 401 0 : return KEYW_RPCMETHOD_GETEPOCHSCHEDULE; // "getEpochSchedule" 402 0 : } 403 0 : break; 404 0 : case 'F': 405 0 : if (*(unsigned long*)&keyw[4] == 0x73654D726F466565UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFUL) == 0x65676173UL) { 406 0 : return KEYW_RPCMETHOD_GETFEEFORMESSAGE; // "getFeeForMessage" 407 0 : } 408 0 : break; 409 0 : case 'I': 410 0 : if (*(unsigned long*)&keyw[4] == 0x6E6F6974616C666EUL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFUL) == 0x65746152UL) { 411 0 : return KEYW_RPCMETHOD_GETINFLATIONRATE; // "getInflationRate" 412 0 : } 413 0 : break; 414 0 : } 415 0 : } 416 0 : break; 417 0 : case 'i': 418 0 : if (*(unsigned long*)&keyw[1] == 0x61686B636F6C4273UL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFFFFFUL) == 0x64696C61566873UL) { 419 0 : return KEYW_RPCMETHOD_ISBLOCKHASHVALID; // "isBlockhashValid" 420 0 : } 421 0 : break; 422 0 : case 'p': 423 0 : if (*(unsigned long*)&keyw[1] == 0x75536D6172676F72UL && (*(unsigned long*)&keyw[9] & 0xFFFFFFFFFFFFFFUL) == 0x65626972637362UL) { 424 0 : return KEYW_WS_METHOD_PROGRAMSUBSCRIBE; // "programSubscribe" 425 0 : } 426 0 : break; 427 0 : } 428 0 : break; 429 0 : case 17: 430 0 : switch (keyw[0]) { 431 0 : case 'g': 432 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 433 0 : switch (keyw[3]) { 434 0 : case 'C': 435 0 : if (*(unsigned long*)&keyw[4] == 0x64656D7269666E6FUL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFUL) == 0x6B636F6C42UL) { 436 0 : return KEYW_RPCMETHOD_GETCONFIRMEDBLOCK; // "getConfirmedBlock" 437 0 : } 438 0 : break; 439 0 : case 'L': 440 0 : if (*(unsigned long*)&keyw[4] == 0x6863537265646165UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFUL) == 0x656C756465UL) { 441 0 : return KEYW_RPCMETHOD_GETLEADERSCHEDULE; // "getLeaderSchedule" 442 0 : } 443 0 : break; 444 0 : } 445 0 : } 446 0 : break; 447 0 : case 'm': 448 0 : if (*(unsigned long*)&keyw[1] == 0x654C6D756D696E69UL && *(unsigned long*)&keyw[9] == 0x746F6C5372656764UL) { 449 0 : return KEYW_RPCMETHOD_MINIMUMLEDGERSLOT; // "minimumLedgerSlot" 450 0 : } 451 0 : break; 452 0 : } 453 0 : break; 454 0 : case 18: 455 0 : switch (keyw[0]) { 456 0 : case 'a': 457 0 : if (*(unsigned long*)&keyw[1] == 0x6E55746E756F6363UL && *(unsigned long*)&keyw[9] == 0x6269726373627573UL && keyw[17] == 'e') { 458 0 : return KEYW_WS_METHOD_ACCOUNTUNSUBSCRIBE; // "accountUnsubscribe" 459 0 : } 460 0 : break; 461 0 : case 'g': 462 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 463 0 : switch (keyw[3]) { 464 0 : case 'B': 465 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFFFUL) == 0x6B636F6CUL) { 466 0 : switch (keyw[8]) { 467 0 : case 'C': 468 0 : if (*(unsigned long*)&keyw[9] == 0x6E656D74696D6D6FUL && keyw[17] == 't') { 469 0 : return KEYW_RPCMETHOD_GETBLOCKCOMMITMENT; // "getBlockCommitment" 470 0 : } 471 0 : break; 472 0 : case 'P': 473 0 : if (*(unsigned long*)&keyw[9] == 0x6F69746375646F72UL && keyw[17] == 'n') { 474 0 : return KEYW_RPCMETHOD_GETBLOCKPRODUCTION; // "getBlockProduction" 475 0 : } 476 0 : break; 477 0 : case 's': 478 0 : if (*(unsigned long*)&keyw[9] == 0x696D694C68746957UL && keyw[17] == 't') { 479 0 : return KEYW_RPCMETHOD_GETBLOCKSWITHLIMIT; // "getBlocksWithLimit" 480 0 : } 481 0 : break; 482 0 : } 483 0 : } 484 0 : break; 485 0 : case 'C': 486 0 : if (*(unsigned long*)&keyw[4] == 0x64656D7269666E6FUL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFFFUL) == 0x736B636F6C42UL) { 487 0 : return KEYW_RPCMETHOD_GETCONFIRMEDBLOCKS; // "getConfirmedBlocks" 488 0 : } 489 0 : break; 490 0 : case 'F': 491 0 : if (*(unsigned long*)&keyw[4] == 0x6F47657461526565UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFFFUL) == 0x726F6E726576UL) { 492 0 : return KEYW_RPCMETHOD_GETFEERATEGOVERNOR; // "getFeeRateGovernor" 493 0 : } 494 0 : break; 495 0 : case 'I': 496 0 : if (*(unsigned long*)&keyw[4] == 0x6E6F6974616C666EUL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFFFUL) == 0x647261776552UL) { 497 0 : return KEYW_RPCMETHOD_GETINFLATIONREWARD; // "getInflationReward" 498 0 : } 499 0 : break; 500 0 : case 'L': 501 0 : if (keyw[4] == 'a') { 502 0 : switch (keyw[5]) { 503 0 : case 'r': 504 0 : if (*(unsigned long*)&keyw[6] == 0x6F63634174736567UL && (*(unsigned long*)&keyw[14] & 0xFFFFFFFFUL) == 0x73746E75UL) { 505 0 : return KEYW_RPCMETHOD_GETLARGESTACCOUNTS; // "getLargestAccounts" 506 0 : } 507 0 : break; 508 0 : case 't': 509 0 : if (*(unsigned long*)&keyw[6] == 0x6B636F6C42747365UL && (*(unsigned long*)&keyw[14] & 0xFFFFFFFFUL) == 0x68736168UL) { 510 0 : return KEYW_RPCMETHOD_GETLATESTBLOCKHASH; // "getLatestBlockhash" 511 0 : } 512 0 : break; 513 0 : } 514 0 : } 515 0 : break; 516 0 : case 'P': 517 0 : if (*(unsigned long*)&keyw[4] == 0x63416D6172676F72UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFFFUL) == 0x73746E756F63UL) { 518 0 : return KEYW_RPCMETHOD_GETPROGRAMACCOUNTS; // "getProgramAccounts" 519 0 : } 520 0 : break; 521 0 : case 'R': 522 0 : if (*(unsigned long*)&keyw[4] == 0x6F6C42746E656365UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFFFUL) == 0x687361686B63UL) { 523 0 : return KEYW_RPCMETHOD_GETRECENTBLOCKHASH; // "getRecentBlockhash" 524 0 : } 525 0 : break; 526 0 : case 'S': 527 0 : if (*(unsigned long*)&keyw[4] == 0x69746341656B6174UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFFFUL) == 0x6E6F69746176UL) { 528 0 : return KEYW_RPCMETHOD_GETSTAKEACTIVATION; // "getStakeActivation" 529 0 : } 530 0 : break; 531 0 : } 532 0 : } 533 0 : break; 534 0 : case 'p': 535 0 : if (*(unsigned long*)&keyw[1] == 0x6E556D6172676F72UL && *(unsigned long*)&keyw[9] == 0x6269726373627573UL && keyw[17] == 'e') { 536 0 : return KEYW_WS_METHOD_PROGRAMUNSUBSCRIBE; // "programUnsubscribe" 537 0 : } 538 0 : break; 539 0 : case 's': 540 0 : if (*(unsigned long*)&keyw[1] == 0x65727574616E6769UL && *(unsigned long*)&keyw[9] == 0x6269726373627553UL && keyw[17] == 'e') { 541 0 : return KEYW_WS_METHOD_SIGNATURESUBSCRIBE; // "signatureSubscribe" 542 0 : } 543 0 : break; 544 0 : case 't': 545 0 : if (*(unsigned long*)&keyw[1] == 0x69746361736E6172UL && *(unsigned long*)&keyw[9] == 0x6C69617465446E6FUL && keyw[17] == 's') { 546 0 : return KEYW_JSON_TRANSACTIONDETAILS; // "transactionDetails" 547 0 : } 548 0 : break; 549 0 : } 550 0 : break; 551 0 : case 19: 552 0 : switch (keyw[0]) { 553 0 : case 'g': 554 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 555 0 : switch (keyw[3]) { 556 0 : case 'M': 557 0 : if (*(unsigned long*)&keyw[4] == 0x41656C7069746C75UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFFFFFUL) == 0x73746E756F6363UL) { 558 0 : return KEYW_RPCMETHOD_GETMULTIPLEACCOUNTS; // "getMultipleAccounts" 559 0 : } 560 0 : break; 561 0 : case 'T': 562 0 : if (*(unsigned long*)&keyw[4] == 0x69746361736E6172UL && (*(unsigned long*)&keyw[12] & 0xFFFFFFFFFFFFFFUL) == 0x746E756F436E6FUL) { 563 0 : return KEYW_RPCMETHOD_GETTRANSACTIONCOUNT; // "getTransactionCount" 564 0 : } 565 0 : break; 566 0 : } 567 0 : } 568 0 : break; 569 0 : case 'p': 570 0 : if (*(unsigned long*)&keyw[1] == 0x746867696C666572UL && *(unsigned long*)&keyw[9] == 0x656D74696D6D6F43UL && (*(unsigned long*)&keyw[17] & 0xFFFFUL) == 0x746EUL) { 571 0 : return KEYS_PREFLIGHTCOMMITMENT; // "preflightCommitment" 572 0 : } 573 0 : break; 574 0 : case 's': 575 0 : if (*(unsigned long*)&keyw[1] == 0x546574616C756D69UL && *(unsigned long*)&keyw[9] == 0x69746361736E6172UL && (*(unsigned long*)&keyw[17] & 0xFFFFUL) == 0x6E6FUL) { 576 0 : return KEYW_RPCMETHOD_SIMULATETRANSACTION; // "simulateTransaction" 577 0 : } 578 0 : break; 579 0 : } 580 0 : break; 581 0 : case 20: 582 0 : switch (keyw[0]) { 583 0 : case 'g': 584 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 585 0 : switch (keyw[3]) { 586 0 : case 'I': 587 0 : if (*(unsigned long*)&keyw[4] == 0x6E6F6974616C666EUL && *(unsigned long*)&keyw[12] == 0x726F6E7265766F47UL) { 588 0 : return KEYW_RPCMETHOD_GETINFLATIONGOVERNOR; // "getInflationGovernor" 589 0 : } 590 0 : break; 591 0 : case 'M': 592 0 : if (*(unsigned long*)&keyw[4] == 0x6E61727465527861UL && *(unsigned long*)&keyw[12] == 0x746F6C5374696D73UL) { 593 0 : return KEYW_RPCMETHOD_GETMAXRETRANSMITSLOT; // "getMaxRetransmitSlot" 594 0 : } 595 0 : break; 596 0 : case 'S': 597 0 : if (*(unsigned long*)&keyw[4] == 0x65727574616E6769UL && *(unsigned long*)&keyw[12] == 0x7365737574617453UL) { 598 0 : return KEYW_RPCMETHOD_GETSIGNATURESTATUSES; // "getSignatureStatuses" 599 0 : } 600 0 : break; 601 0 : } 602 0 : } 603 0 : break; 604 0 : case 's': 605 0 : if (*(unsigned long*)&keyw[1] == 0x65727574616E6769UL && *(unsigned long*)&keyw[9] == 0x7263736275736E55UL && (*(unsigned long*)&keyw[17] & 0xFFFFFFUL) == 0x656269UL) { 606 0 : return KEYW_WS_METHOD_SIGNATUREUNSUBSCRIBE; // "signatureUnsubscribe" 607 0 : } 608 0 : break; 609 0 : } 610 0 : break; 611 0 : case 21: 612 0 : switch (keyw[0]) { 613 0 : case 'g': 614 0 : if (*(unsigned long*)&keyw[1] == 0x72685378614D7465UL && *(unsigned long*)&keyw[9] == 0x747265736E496465UL && (*(unsigned long*)&keyw[17] & 0xFFFFFFFFUL) == 0x746F6C53UL) { 615 0 : return KEYW_RPCMETHOD_GETMAXSHREDINSERTSLOT; // "getMaxShredInsertSlot" 616 0 : } 617 0 : break; 618 0 : case 's': 619 0 : if (*(unsigned long*)&keyw[1] == 0x6164705573746F6CUL && *(unsigned long*)&keyw[9] == 0x6373627553736574UL && (*(unsigned long*)&keyw[17] & 0xFFFFFFFFUL) == 0x65626972UL) { 620 0 : return KEYW_WS_METHOD_SLOTSUPDATESSUBSCRIBE; // "slotsUpdatesSubscribe" 621 0 : } 622 0 : break; 623 0 : } 624 0 : break; 625 0 : case 22: 626 0 : switch (keyw[0]) { 627 0 : case 'd': 628 0 : if (*(unsigned long*)&keyw[1] == 0x6E6575716E696C65UL && *(unsigned long*)&keyw[9] == 0x736944746F6C5374UL && (*(unsigned long*)&keyw[17] & 0xFFFFFFFFFFUL) == 0x65636E6174UL) { 629 0 : return KEYW_JSON_DELINQUENTSLOTDISTANCE; // "delinquentSlotDistance" 630 0 : } 631 0 : break; 632 0 : case 'g': 633 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 634 0 : switch (keyw[3]) { 635 0 : case 'F': 636 0 : if (*(unsigned long*)&keyw[4] == 0x6961764174737269UL && *(unsigned long*)&keyw[12] == 0x6F6C42656C62616CUL && (*(unsigned long*)&keyw[20] & 0xFFFFUL) == 0x6B63UL) { 637 0 : return KEYW_RPCMETHOD_GETFIRSTAVAILABLEBLOCK; // "getFirstAvailableBlock" 638 0 : } 639 0 : break; 640 0 : case 'H': 641 0 : if (*(unsigned long*)&keyw[4] == 0x6E53747365686769UL && *(unsigned long*)&keyw[12] == 0x6C53746F68737061UL && (*(unsigned long*)&keyw[20] & 0xFFFFUL) == 0x746FUL) { 642 0 : return KEYW_RPCMETHOD_GETHIGHESTSNAPSHOTSLOT; // "getHighestSnapshotSlot" 643 0 : } 644 0 : break; 645 0 : case 'T': 646 0 : if (*(unsigned long*)&keyw[4] == 0x6F6363416E656B6FUL && *(unsigned long*)&keyw[12] == 0x6E616C6142746E75UL && (*(unsigned long*)&keyw[20] & 0xFFFFUL) == 0x6563UL) { 647 0 : return KEYW_RPCMETHOD_GETTOKENACCOUNTBALANCE; // "getTokenAccountBalance" 648 0 : } 649 0 : break; 650 0 : } 651 0 : } 652 0 : break; 653 0 : } 654 0 : break; 655 0 : case 23: 656 0 : switch (keyw[0]) { 657 0 : case 'g': 658 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 659 0 : switch (keyw[3]) { 660 0 : case 'C': 661 0 : if (*(unsigned long*)&keyw[4] == 0x64656D7269666E6FUL && *(unsigned long*)&keyw[12] == 0x746361736E617254UL && (*(unsigned long*)&keyw[20] & 0xFFFFFFUL) == 0x6E6F69UL) { 662 0 : return KEYW_RPCMETHOD_GETCONFIRMEDTRANSACTION; // "getConfirmedTransaction" 663 0 : } 664 0 : break; 665 0 : case 'S': 666 0 : if (*(unsigned long*)&keyw[4] == 0x65727574616E6769UL && *(unsigned long*)&keyw[12] == 0x72646441726F4673UL && (*(unsigned long*)&keyw[20] & 0xFFFFFFUL) == 0x737365UL) { 667 0 : return KEYW_RPCMETHOD_GETSIGNATURESFORADDRESS; // "getSignaturesForAddress" 668 0 : } 669 0 : break; 670 0 : case 'T': 671 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFFFUL) == 0x6E656B6FUL) { 672 0 : switch (keyw[8]) { 673 0 : case 'A': 674 0 : if (*(unsigned long*)&keyw[9] == 0x4273746E756F6363UL && (*(unsigned long*)&keyw[17] & 0xFFFFFFFFFFFFUL) == 0x72656E774F79UL) { 675 0 : return KEYW_RPCMETHOD_GETTOKENACCOUNTSBYOWNER; // "getTokenAccountsByOwner" 676 0 : } 677 0 : break; 678 0 : case 'L': 679 0 : if (*(unsigned long*)&keyw[9] == 0x6341747365677261UL && (*(unsigned long*)&keyw[17] & 0xFFFFFFFFFFFFUL) == 0x73746E756F63UL) { 680 0 : return KEYW_RPCMETHOD_GETTOKENLARGESTACCOUNTS; // "getTokenLargestAccounts" 681 0 : } 682 0 : break; 683 0 : } 684 0 : } 685 0 : break; 686 0 : } 687 0 : } 688 0 : break; 689 0 : case 'k': 690 0 : if (*(unsigned long*)&keyw[1] == 0x6174736E55706565UL && *(unsigned long*)&keyw[9] == 0x6E696C654464656BUL && (*(unsigned long*)&keyw[17] & 0xFFFFFFFFFFFFUL) == 0x73746E657571UL) { 691 0 : return KEYW_JSON_KEEPUNSTAKEDDELINQUENTS; // "keepUnstakedDelinquents" 692 0 : } 693 0 : break; 694 0 : case 's': 695 0 : if (*(unsigned long*)&keyw[1] == 0x6164705573746F6CUL && *(unsigned long*)&keyw[9] == 0x6275736E55736574UL && (*(unsigned long*)&keyw[17] & 0xFFFFFFFFFFFFUL) == 0x656269726373UL) { 696 0 : return KEYW_WS_METHOD_SLOTSUPDATESUNSUBSCRIBE; // "slotsUpdatesUnsubscribe" 697 0 : } 698 0 : break; 699 0 : } 700 0 : break; 701 0 : case 24: 702 0 : if (*(unsigned long*)&keyw[0] == 0x7254686372616573UL && *(unsigned long*)&keyw[8] == 0x6F69746361736E61UL && *(unsigned long*)&keyw[16] == 0x79726F747369486EUL) { 703 0 : return KEYW_JSON_SEARCHTRANSACTIONHISTORY; // "searchTransactionHistory" 704 0 : } 705 0 : break; 706 0 : case 25: 707 0 : if (*(unsigned long*)&keyw[0] == 0x656B617453746567UL && *(unsigned long*)&keyw[8] == 0x446D756D696E694DUL && *(unsigned long*)&keyw[16] == 0x6F69746167656C65UL && keyw[24] == 'n') { 708 0 : return KEYW_RPCMETHOD_GETSTAKEMINIMUMDELEGATION; // "getStakeMinimumDelegation" 709 0 : } 710 0 : break; 711 0 : case 26: 712 0 : if (*(unsigned long*)&keyw[0] == 0x6E656B6F54746567UL && *(unsigned long*)&keyw[8] == 0x73746E756F636341UL && *(unsigned long*)&keyw[16] == 0x6167656C65447942UL && (*(unsigned long*)&keyw[24] & 0xFFFFUL) == 0x6574UL) { 713 0 : return KEYW_RPCMETHOD_GETTOKENACCOUNTSBYDELEGATE; // "getTokenAccountsByDelegate" 714 0 : } 715 0 : break; 716 0 : case 27: 717 0 : if ((*(unsigned long*)&keyw[0] & 0xFFFFFFUL) == 0x746567UL) { 718 0 : switch (keyw[3]) { 719 0 : case 'C': 720 0 : if (*(unsigned long*)&keyw[4] == 0x64656D7269666E6FUL && *(unsigned long*)&keyw[12] == 0x6957736B636F6C42UL && (*(unsigned long*)&keyw[20] & 0xFFFFFFFFFFFFFFUL) == 0x74696D694C6874UL) { 721 0 : return KEYW_RPCMETHOD_GETCONFIRMEDBLOCKSWITHLIMIT; // "getConfirmedBlocksWithLimit" 722 0 : } 723 0 : break; 724 0 : case 'R': 725 0 : if ((*(unsigned long*)&keyw[4] & 0xFFFFFFFFFFFFUL) == 0x50746E656365UL) { 726 0 : switch (keyw[10]) { 727 0 : case 'e': 728 0 : if (*(unsigned long*)&keyw[11] == 0x636E616D726F6672UL && *(unsigned long*)&keyw[19] == 0x73656C706D615365UL) { 729 0 : return KEYW_RPCMETHOD_GETRECENTPERFORMANCESAMPLES; // "getRecentPerformanceSamples" 730 0 : } 731 0 : break; 732 0 : case 'r': 733 0 : if (*(unsigned long*)&keyw[11] == 0x617A697469726F69UL && *(unsigned long*)&keyw[19] == 0x736565466E6F6974UL) { 734 0 : return KEYW_RPCMETHOD_GETRECENTPRIORITIZATIONFEES; // "getRecentPrioritizationFees" 735 0 : } 736 0 : break; 737 0 : } 738 0 : } 739 0 : break; 740 0 : } 741 0 : } 742 0 : break; 743 0 : case 28: 744 0 : if (*(unsigned long*)&keyw[0] == 0x6143656546746567UL && *(unsigned long*)&keyw[8] == 0x726F74616C75636CUL && *(unsigned long*)&keyw[16] == 0x6B636F6C42726F46UL && (*(unsigned long*)&keyw[24] & 0xFFFFFFFFUL) == 0x68736168UL) { 745 0 : return KEYW_RPCMETHOD_GETFEECALCULATORFORBLOCKHASH; // "getFeeCalculatorForBlockhash" 746 0 : } 747 0 : break; 748 0 : case 30: 749 0 : if (*(unsigned long*)&keyw[0] == 0x6F7070755378616DUL && *(unsigned long*)&keyw[8] == 0x6E61725464657472UL && *(unsigned long*)&keyw[16] == 0x566E6F6974636173UL && (*(unsigned long*)&keyw[24] & 0xFFFFFFFFFFFFUL) == 0x6E6F69737265UL) { 750 0 : return KEYW_JSON_MAXSUPPORTEDTRANSACTIONVERSION; // "maxSupportedTransactionVersion" 751 0 : } 752 0 : break; 753 0 : case 33: 754 0 : switch (keyw[0]) { 755 0 : case 'g': 756 0 : if ((*(unsigned long*)&keyw[1] & 0xFFFFUL) == 0x7465UL) { 757 0 : switch (keyw[3]) { 758 0 : case 'C': 759 0 : if (*(unsigned long*)&keyw[4] == 0x64656D7269666E6FUL && *(unsigned long*)&keyw[12] == 0x727574616E676953UL && *(unsigned long*)&keyw[20] == 0x646441726F467365UL && (*(unsigned long*)&keyw[28] & 0xFFFFFFFFFFUL) == 0x3273736572UL) { 760 0 : return KEYW_RPCMETHOD_GETCONFIRMEDSIGNATURESFORADDRESS2; // "getConfirmedSignaturesForAddress2" 761 0 : } 762 0 : break; 763 0 : case 'M': 764 0 : if (*(unsigned long*)&keyw[4] == 0x61426D756D696E69UL && *(unsigned long*)&keyw[12] == 0x726F4665636E616CUL && *(unsigned long*)&keyw[20] == 0x6D657845746E6552UL && (*(unsigned long*)&keyw[28] & 0xFFFFFFFFFFUL) == 0x6E6F697470UL) { 765 0 : return KEYW_RPCMETHOD_GETMINIMUMBALANCEFORRENTEXEMPTION; // "getMinimumBalanceForRentExemption" 766 0 : } 767 0 : break; 768 0 : } 769 0 : } 770 0 : break; 771 0 : case 'e': 772 0 : if (*(unsigned long*)&keyw[1] == 0x6F4E6564756C6378UL && *(unsigned long*)&keyw[9] == 0x616C75637269436EUL && *(unsigned long*)&keyw[17] == 0x6F636341676E6974UL && *(unsigned long*)&keyw[25] == 0x7473694C73746E75UL) { 773 0 : return KEYW_JSON_EXCLUDENONCIRCULATINGACCOUNTSLIST; // "excludeNonCirculatingAccountsList" 774 0 : } 775 0 : break; 776 0 : } 777 0 : break; 778 0 : } 779 0 : return KEYW_UNKNOWN; 780 0 : } 781 0 : const char* un_fd_webserver_json_keyword(long id) { 782 0 : switch (id) { 783 0 : case KEYW_JSON_JSONRPC: return "jsonrpc"; 784 0 : case KEYW_JSON_ID: return "id"; 785 0 : case KEYW_JSON_METHOD: return "method"; 786 0 : case KEYW_JSON_PARAMS: return "params"; 787 0 : case KEYW_JSON_BEFORE: return "before"; 788 0 : case KEYW_JSON_BYTES: return "bytes"; 789 0 : case KEYW_JSON_COMMITMENT: return "commitment"; 790 0 : case KEYW_JSON_DATASIZE: return "dataSize"; 791 0 : case KEYW_JSON_DATASLICE: return "dataSlice"; 792 0 : case KEYW_JSON_DELINQUENTSLOTDISTANCE: return "delinquentSlotDistance"; 793 0 : case KEYW_JSON_ENCODING: return "encoding"; 794 0 : case KEYW_JSON_EPOCH: return "epoch"; 795 0 : case KEYW_JSON_FILTERS: return "filters"; 796 0 : case KEYW_JSON_IDENTITY: return "identity"; 797 0 : case KEYW_JSON_KEEPUNSTAKEDDELINQUENTS: return "keepUnstakedDelinquents"; 798 0 : case KEYW_JSON_LENGTH: return "length"; 799 0 : case KEYW_JSON_LIMIT: return "limit"; 800 0 : case KEYW_JSON_MAXSUPPORTEDTRANSACTIONVERSION: return "maxSupportedTransactionVersion"; 801 0 : case KEYW_JSON_MAXRETRIES: return "maxRetries"; 802 0 : case KEYW_JSON_MINCONTEXTSLOT: return "minContextSlot"; 803 0 : case KEYW_JSON_MEMCMP: return "memcmp"; 804 0 : case KEYW_JSON_MINT: return "mint"; 805 0 : case KEYW_JSON_OFFSET: return "offset"; 806 0 : case KEYS_PREFLIGHTCOMMITMENT: return "preflightCommitment"; 807 0 : case KEYW_JSON_PROGRAMID: return "programId"; 808 0 : case KEYW_JSON_RECENTBLOCKHASH: return "recentBlockhash"; 809 0 : case KEYW_JSON_REWARDS: return "rewards"; 810 0 : case KEYW_JSON_SEARCHTRANSACTIONHISTORY: return "searchTransactionHistory"; 811 0 : case KEYW_SKIPPREFLIGHT: return "skipPreflight"; 812 0 : case KEYW_JSON_TRANSACTIONDETAILS: return "transactionDetails"; 813 0 : case KEYW_JSON_VOTEPUBKEY: return "votePubkey"; 814 0 : case KEYW_JSON_EXCLUDENONCIRCULATINGACCOUNTSLIST: return "excludeNonCirculatingAccountsList"; 815 0 : case KEYW_RPCMETHOD_GETACCOUNTINFO: return "getAccountInfo"; 816 0 : case KEYW_RPCMETHOD_GETBALANCE: return "getBalance"; 817 0 : case KEYW_RPCMETHOD_GETBLOCK: return "getBlock"; 818 0 : case KEYW_RPCMETHOD_GETBLOCKCOMMITMENT: return "getBlockCommitment"; 819 0 : case KEYW_RPCMETHOD_GETBLOCKHEIGHT: return "getBlockHeight"; 820 0 : case KEYW_RPCMETHOD_GETBLOCKPRODUCTION: return "getBlockProduction"; 821 0 : case KEYW_RPCMETHOD_GETBLOCKS: return "getBlocks"; 822 0 : case KEYW_RPCMETHOD_GETBLOCKSWITHLIMIT: return "getBlocksWithLimit"; 823 0 : case KEYW_RPCMETHOD_GETBLOCKTIME: return "getBlockTime"; 824 0 : case KEYW_RPCMETHOD_GETCLUSTERNODES: return "getClusterNodes"; 825 0 : case KEYW_RPCMETHOD_GETCONFIRMEDBLOCK: return "getConfirmedBlock"; 826 0 : case KEYW_RPCMETHOD_GETCONFIRMEDBLOCKS: return "getConfirmedBlocks"; 827 0 : case KEYW_RPCMETHOD_GETCONFIRMEDBLOCKSWITHLIMIT: return "getConfirmedBlocksWithLimit"; 828 0 : case KEYW_RPCMETHOD_GETCONFIRMEDSIGNATURESFORADDRESS2: return "getConfirmedSignaturesForAddress2"; 829 0 : case KEYW_RPCMETHOD_GETCONFIRMEDTRANSACTION: return "getConfirmedTransaction"; 830 0 : case KEYW_RPCMETHOD_GETEPOCHINFO: return "getEpochInfo"; 831 0 : case KEYW_RPCMETHOD_GETEPOCHSCHEDULE: return "getEpochSchedule"; 832 0 : case KEYW_RPCMETHOD_GETFEECALCULATORFORBLOCKHASH: return "getFeeCalculatorForBlockhash"; 833 0 : case KEYW_RPCMETHOD_GETFEEFORMESSAGE: return "getFeeForMessage"; 834 0 : case KEYW_RPCMETHOD_GETFEERATEGOVERNOR: return "getFeeRateGovernor"; 835 0 : case KEYW_RPCMETHOD_GETFEES: return "getFees"; 836 0 : case KEYW_RPCMETHOD_GETFIRSTAVAILABLEBLOCK: return "getFirstAvailableBlock"; 837 0 : case KEYW_RPCMETHOD_GETGENESISHASH: return "getGenesisHash"; 838 0 : case KEYW_RPCMETHOD_GETHEALTH: return "getHealth"; 839 0 : case KEYW_RPCMETHOD_GETHIGHESTSNAPSHOTSLOT: return "getHighestSnapshotSlot"; 840 0 : case KEYW_RPCMETHOD_GETIDENTITY: return "getIdentity"; 841 0 : case KEYW_RPCMETHOD_GETINFLATIONGOVERNOR: return "getInflationGovernor"; 842 0 : case KEYW_RPCMETHOD_GETINFLATIONRATE: return "getInflationRate"; 843 0 : case KEYW_RPCMETHOD_GETINFLATIONREWARD: return "getInflationReward"; 844 0 : case KEYW_RPCMETHOD_GETLARGESTACCOUNTS: return "getLargestAccounts"; 845 0 : case KEYW_RPCMETHOD_GETLATESTBLOCKHASH: return "getLatestBlockhash"; 846 0 : case KEYW_RPCMETHOD_GETLEADERSCHEDULE: return "getLeaderSchedule"; 847 0 : case KEYW_RPCMETHOD_GETMAXRETRANSMITSLOT: return "getMaxRetransmitSlot"; 848 0 : case KEYW_RPCMETHOD_GETMAXSHREDINSERTSLOT: return "getMaxShredInsertSlot"; 849 0 : case KEYW_RPCMETHOD_GETMINIMUMBALANCEFORRENTEXEMPTION: return "getMinimumBalanceForRentExemption"; 850 0 : case KEYW_RPCMETHOD_GETMULTIPLEACCOUNTS: return "getMultipleAccounts"; 851 0 : case KEYW_RPCMETHOD_GETPROGRAMACCOUNTS: return "getProgramAccounts"; 852 0 : case KEYW_RPCMETHOD_GETRECENTBLOCKHASH: return "getRecentBlockhash"; 853 0 : case KEYW_RPCMETHOD_GETRECENTPERFORMANCESAMPLES: return "getRecentPerformanceSamples"; 854 0 : case KEYW_RPCMETHOD_GETRECENTPRIORITIZATIONFEES: return "getRecentPrioritizationFees"; 855 0 : case KEYW_RPCMETHOD_GETSIGNATURESFORADDRESS: return "getSignaturesForAddress"; 856 0 : case KEYW_RPCMETHOD_GETSIGNATURESTATUSES: return "getSignatureStatuses"; 857 0 : case KEYW_RPCMETHOD_GETSLOT: return "getSlot"; 858 0 : case KEYW_RPCMETHOD_GETSLOTLEADER: return "getSlotLeader"; 859 0 : case KEYW_RPCMETHOD_GETSLOTLEADERS: return "getSlotLeaders"; 860 0 : case KEYW_RPCMETHOD_GETSNAPSHOTSLOT: return "getSnapshotSlot"; 861 0 : case KEYW_RPCMETHOD_GETSTAKEACTIVATION: return "getStakeActivation"; 862 0 : case KEYW_RPCMETHOD_GETSTAKEMINIMUMDELEGATION: return "getStakeMinimumDelegation"; 863 0 : case KEYW_RPCMETHOD_GETSUPPLY: return "getSupply"; 864 0 : case KEYW_RPCMETHOD_GETTOKENACCOUNTBALANCE: return "getTokenAccountBalance"; 865 0 : case KEYW_RPCMETHOD_GETTOKENACCOUNTSBYDELEGATE: return "getTokenAccountsByDelegate"; 866 0 : case KEYW_RPCMETHOD_GETTOKENACCOUNTSBYOWNER: return "getTokenAccountsByOwner"; 867 0 : case KEYW_RPCMETHOD_GETTOKENLARGESTACCOUNTS: return "getTokenLargestAccounts"; 868 0 : case KEYW_RPCMETHOD_GETTOKENSUPPLY: return "getTokenSupply"; 869 0 : case KEYW_RPCMETHOD_GETTRANSACTION: return "getTransaction"; 870 0 : case KEYW_RPCMETHOD_GETTRANSACTIONCOUNT: return "getTransactionCount"; 871 0 : case KEYW_RPCMETHOD_GETVERSION: return "getVersion"; 872 0 : case KEYW_RPCMETHOD_GETVOTEACCOUNTS: return "getVoteAccounts"; 873 0 : case KEYW_RPCMETHOD_ISBLOCKHASHVALID: return "isBlockhashValid"; 874 0 : case KEYW_RPCMETHOD_MINIMUMLEDGERSLOT: return "minimumLedgerSlot"; 875 0 : case KEYW_RPCMETHOD_REQUESTAIRDROP: return "requestAirdrop"; 876 0 : case KEYW_RPCMETHOD_SENDTRANSACTION: return "sendTransaction"; 877 0 : case KEYW_RPCMETHOD_SIMULATETRANSACTION: return "simulateTransaction"; 878 0 : case KEYW_WS_METHOD_ACCOUNTSUBSCRIBE: return "accountSubscribe"; 879 0 : case KEYW_WS_METHOD_ACCOUNTUNSUBSCRIBE: return "accountUnsubscribe"; 880 0 : case KEYW_WS_METHOD_BLOCKSUBSCRIBE: return "blockSubscribe"; 881 0 : case KEYW_WS_METHOD_BLOCKUNSUBSCRIBE: return "blockUnsubscribe"; 882 0 : case KEYW_WS_METHOD_LOGSSUBSCRIBE: return "logsSubscribe"; 883 0 : case KEYW_WS_METHOD_LOGSUNSUBSCRIBE: return "logsUnsubscribe"; 884 0 : case KEYW_WS_METHOD_PROGRAMSUBSCRIBE: return "programSubscribe"; 885 0 : case KEYW_WS_METHOD_PROGRAMUNSUBSCRIBE: return "programUnsubscribe"; 886 0 : case KEYW_WS_METHOD_ROOTSUBSCRIBE: return "rootSubscribe"; 887 0 : case KEYW_WS_METHOD_ROOTUNSUBSCRIBE: return "rootUnsubscribe"; 888 0 : case KEYW_WS_METHOD_SIGNATURESUBSCRIBE: return "signatureSubscribe"; 889 0 : case KEYW_WS_METHOD_SIGNATUREUNSUBSCRIBE: return "signatureUnsubscribe"; 890 0 : case KEYW_WS_METHOD_SLOTSUBSCRIBE: return "slotSubscribe"; 891 0 : case KEYW_WS_METHOD_SLOTUNSUBSCRIBE: return "slotUnsubscribe"; 892 0 : case KEYW_WS_METHOD_SLOTSUPDATESSUBSCRIBE: return "slotsUpdatesSubscribe"; 893 0 : case KEYW_WS_METHOD_SLOTSUPDATESUNSUBSCRIBE: return "slotsUpdatesUnsubscribe"; 894 0 : case KEYW_WS_METHOD_VOTESUBSCRIBE: return "voteSubscribe"; 895 0 : case KEYW_WS_METHOD_VOTEUNSUBSCRIBE: return "voteUnsubscribe"; 896 0 : } 897 0 : return "???"; 898 0 : }