GridPlus SDK
-
+
diff --git a/addresses/index.html b/addresses/index.html
index c9e7d964..faad1b04 100644
--- a/addresses/index.html
+++ b/addresses/index.html
@@ -4,7 +4,7 @@
๐ Addresses and Public Keys | GridPlus SDK
-
+
diff --git a/assets/js/0f1c7d78.6aafdeb3.js b/assets/js/0f1c7d78.dd214dac.js
similarity index 93%
rename from assets/js/0f1c7d78.6aafdeb3.js
rename to assets/js/0f1c7d78.dd214dac.js
index e16c6ed6..7b776d33 100644
--- a/assets/js/0f1c7d78.6aafdeb3.js
+++ b/assets/js/0f1c7d78.dd214dac.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[121],{9101:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>i,contentTitle:()=>l,default:()=>o,frontMatter:()=>n,metadata:()=>c,toc:()=>a});var d=r(4848),t=r(8453);const n={},l="api/addressTags",c={id:"reference/api/addressTags",title:"api/addressTags",description:"addAddressTags()",source:"@site/docs/reference/api/addressTags.md",sourceDirName:"reference/api",slug:"/reference/api/addressTags",permalink:"/gridplus-sdk/reference/api/addressTags",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/api/addressTags.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"Testing",permalink:"/gridplus-sdk/testing"},next:{title:"addresses",permalink:"/gridplus-sdk/reference/api/addresses"}},i={},a=[{value:"addAddressTags()",id:"addaddresstags",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Source",id:"source",level:3},{value:"fetchAddressTags()",id:"fetchaddresstags",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Returns",id:"returns-1",level:3},{value:"Source",id:"source-1",level:3},{value:"removeAddressTags()",id:"removeaddresstags",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Returns",id:"returns-2",level:3},{value:"Source",id:"source-2",level:3}];function h(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,t.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.h1,{id:"apiaddresstags",children:"api/addressTags"}),"\n",(0,d.jsx)(s.h2,{id:"addaddresstags",children:"addAddressTags()"}),"\n",(0,d.jsxs)(s.blockquote,{children:["\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.strong,{children:"addAddressTags"}),"(",(0,d.jsx)(s.code,{children:"tags"}),": [{}]): ",(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"Buffer"}),">"]}),"\n"]}),"\n",(0,d.jsx)(s.p,{children:"Sends request to the Lattice to add Address Tags."}),"\n",(0,d.jsx)(s.h3,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(s.table,{children:[(0,d.jsx)(s.thead,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Parameter"}),(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(s.tbody,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"tags"})}),(0,d.jsx)(s.td,{style:{textAlign:"left"},children:"[{}]"})]})})]}),"\n",(0,d.jsx)(s.h3,{id:"returns",children:"Returns"}),"\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"Buffer"}),">"]}),"\n",(0,d.jsx)(s.h3,{id:"source",children:"Source"}),"\n",(0,d.jsx)(s.p,{children:(0,d.jsx)(s.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/api/addressTags.ts#L8",children:"api/addressTags.ts:8"})}),"\n",(0,d.jsx)(s.hr,{}),"\n",(0,d.jsx)(s.h2,{id:"fetchaddresstags",children:"fetchAddressTags()"}),"\n",(0,d.jsxs)(s.blockquote,{children:["\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.strong,{children:"fetchAddressTags"}),"(",(0,d.jsx)(s.code,{children:"__namedParameters"}),": {",(0,d.jsx)(s.code,{children:'"n"'}),": ",(0,d.jsx)(s.code,{children:"number"}),";",(0,d.jsx)(s.code,{children:'"start"'}),": ",(0,d.jsx)(s.code,{children:"number"}),"; }): ",(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"AddressTag"}),"[]>"]}),"\n"]}),"\n",(0,d.jsx)(s.p,{children:"Fetches Address Tags from the Lattice."}),"\n",(0,d.jsx)(s.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(s.table,{children:[(0,d.jsx)(s.thead,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Parameter"}),(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(s.tbody,{children:[(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"__namedParameters"})}),(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"object"})})]}),(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"__namedParameters.n"})}),(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"number"})})]}),(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"__namedParameters.start"})}),(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"number"})})]})]})]}),"\n",(0,d.jsx)(s.h3,{id:"returns-1",children:"Returns"}),"\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"AddressTag"}),"[]>"]}),"\n",(0,d.jsx)(s.h3,{id:"source-1",children:"Source"}),"\n",(0,d.jsx)(s.p,{children:(0,d.jsx)(s.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/api/addressTags.ts#L24",children:"api/addressTags.ts:24"})}),"\n",(0,d.jsx)(s.hr,{}),"\n",(0,d.jsx)(s.h2,{id:"removeaddresstags",children:"removeAddressTags()"}),"\n",(0,d.jsxs)(s.blockquote,{children:["\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.strong,{children:"removeAddressTags"}),"(",(0,d.jsx)(s.code,{children:"tags"}),": ",(0,d.jsx)(s.code,{children:"AddressTag"}),"[]): ",(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"Buffer"}),">"]}),"\n"]}),"\n",(0,d.jsx)(s.p,{children:"Removes Address Tags from the Lattice."}),"\n",(0,d.jsx)(s.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(s.table,{children:[(0,d.jsx)(s.thead,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Parameter"}),(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(s.tbody,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"tags"})}),(0,d.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,d.jsx)(s.code,{children:"AddressTag"}),"[]"]})]})})]}),"\n",(0,d.jsx)(s.h3,{id:"returns-2",children:"Returns"}),"\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"Buffer"}),">"]}),"\n",(0,d.jsx)(s.h3,{id:"source-2",children:"Source"}),"\n",(0,d.jsx)(s.p,{children:(0,d.jsx)(s.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/api/addressTags.ts#L51",children:"api/addressTags.ts:51"})})]})}function o(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,d.jsx)(s,{...e,children:(0,d.jsx)(h,{...e})}):h(e)}},8453:(e,s,r)=>{r.d(s,{R:()=>l,x:()=>c});var d=r(6540);const t={},n=d.createContext(t);function l(e){const s=d.useContext(n);return d.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),d.createElement(n.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[121],{9101:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>i,contentTitle:()=>l,default:()=>o,frontMatter:()=>n,metadata:()=>c,toc:()=>a});var d=r(4848),t=r(8453);const n={},l="api/addressTags",c={id:"reference/api/addressTags",title:"api/addressTags",description:"addAddressTags()",source:"@site/docs/reference/api/addressTags.md",sourceDirName:"reference/api",slug:"/reference/api/addressTags",permalink:"/gridplus-sdk/reference/api/addressTags",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/api/addressTags.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"Testing",permalink:"/gridplus-sdk/testing"},next:{title:"addresses",permalink:"/gridplus-sdk/reference/api/addresses"}},i={},a=[{value:"addAddressTags()",id:"addaddresstags",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Source",id:"source",level:3},{value:"fetchAddressTags()",id:"fetchaddresstags",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Returns",id:"returns-1",level:3},{value:"Source",id:"source-1",level:3},{value:"removeAddressTags()",id:"removeaddresstags",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Returns",id:"returns-2",level:3},{value:"Source",id:"source-2",level:3}];function h(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,t.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.h1,{id:"apiaddresstags",children:"api/addressTags"}),"\n",(0,d.jsx)(s.h2,{id:"addaddresstags",children:"addAddressTags()"}),"\n",(0,d.jsxs)(s.blockquote,{children:["\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.strong,{children:"addAddressTags"}),"(",(0,d.jsx)(s.code,{children:"tags"}),": [{}]): ",(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"Buffer"}),">"]}),"\n"]}),"\n",(0,d.jsx)(s.p,{children:"Sends request to the Lattice to add Address Tags."}),"\n",(0,d.jsx)(s.h3,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(s.table,{children:[(0,d.jsx)(s.thead,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Parameter"}),(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(s.tbody,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"tags"})}),(0,d.jsx)(s.td,{style:{textAlign:"left"},children:"[{}]"})]})})]}),"\n",(0,d.jsx)(s.h3,{id:"returns",children:"Returns"}),"\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"Buffer"}),">"]}),"\n",(0,d.jsx)(s.h3,{id:"source",children:"Source"}),"\n",(0,d.jsx)(s.p,{children:(0,d.jsx)(s.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/api/addressTags.ts#L9",children:"api/addressTags.ts:9"})}),"\n",(0,d.jsx)(s.hr,{}),"\n",(0,d.jsx)(s.h2,{id:"fetchaddresstags",children:"fetchAddressTags()"}),"\n",(0,d.jsxs)(s.blockquote,{children:["\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.strong,{children:"fetchAddressTags"}),"(",(0,d.jsx)(s.code,{children:"__namedParameters"}),": {",(0,d.jsx)(s.code,{children:'"n"'}),": ",(0,d.jsx)(s.code,{children:"number"}),";",(0,d.jsx)(s.code,{children:'"start"'}),": ",(0,d.jsx)(s.code,{children:"number"}),"; }): ",(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"AddressTag"}),"[]>"]}),"\n"]}),"\n",(0,d.jsx)(s.p,{children:"Fetches Address Tags from the Lattice."}),"\n",(0,d.jsx)(s.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(s.table,{children:[(0,d.jsx)(s.thead,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Parameter"}),(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(s.tbody,{children:[(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"__namedParameters"})}),(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"object"})})]}),(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"__namedParameters.n"})}),(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"number"})})]}),(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"__namedParameters.start"})}),(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"number"})})]})]})]}),"\n",(0,d.jsx)(s.h3,{id:"returns-1",children:"Returns"}),"\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"AddressTag"}),"[]>"]}),"\n",(0,d.jsx)(s.h3,{id:"source-1",children:"Source"}),"\n",(0,d.jsx)(s.p,{children:(0,d.jsx)(s.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/api/addressTags.ts#L25",children:"api/addressTags.ts:25"})}),"\n",(0,d.jsx)(s.hr,{}),"\n",(0,d.jsx)(s.h2,{id:"removeaddresstags",children:"removeAddressTags()"}),"\n",(0,d.jsxs)(s.blockquote,{children:["\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.strong,{children:"removeAddressTags"}),"(",(0,d.jsx)(s.code,{children:"tags"}),": ",(0,d.jsx)(s.code,{children:"AddressTag"}),"[]): ",(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"Buffer"}),">"]}),"\n"]}),"\n",(0,d.jsx)(s.p,{children:"Removes Address Tags from the Lattice."}),"\n",(0,d.jsx)(s.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(s.table,{children:[(0,d.jsx)(s.thead,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Parameter"}),(0,d.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(s.tbody,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{style:{textAlign:"left"},children:(0,d.jsx)(s.code,{children:"tags"})}),(0,d.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,d.jsx)(s.code,{children:"AddressTag"}),"[]"]})]})})]}),"\n",(0,d.jsx)(s.h3,{id:"returns-2",children:"Returns"}),"\n",(0,d.jsxs)(s.p,{children:[(0,d.jsx)(s.code,{children:"Promise"}),"<",(0,d.jsx)(s.code,{children:"Buffer"}),">"]}),"\n",(0,d.jsx)(s.h3,{id:"source-2",children:"Source"}),"\n",(0,d.jsx)(s.p,{children:(0,d.jsx)(s.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/api/addressTags.ts#L52",children:"api/addressTags.ts:52"})})]})}function o(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,d.jsx)(s,{...e,children:(0,d.jsx)(h,{...e})}):h(e)}},8453:(e,s,r)=>{r.d(s,{R:()=>l,x:()=>c});var d=r(6540);const t={},n=d.createContext(t);function l(e){const s=d.useContext(n);return d.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),d.createElement(n.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/1191772f.3f4a8263.js b/assets/js/1191772f.690d9a98.js
similarity index 96%
rename from assets/js/1191772f.3f4a8263.js
rename to assets/js/1191772f.690d9a98.js
index 4d9dd683..da04832c 100644
--- a/assets/js/1191772f.3f4a8263.js
+++ b/assets/js/1191772f.690d9a98.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[745],{1755:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>d,default:()=>o,frontMatter:()=>r,metadata:()=>c,toc:()=>h});var l=s(4848),n=s(8453);const r={},d="util",c={id:"reference/util",title:"util",description:"fetchCalldataDecoder()",source:"@site/docs/reference/util.md",sourceDirName:"reference",slug:"/reference/util",permalink:"/gridplus-sdk/reference/util",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/util.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"constants",permalink:"/gridplus-sdk/reference/constants"}},i={},h=[{value:"fetchCalldataDecoder()",id:"fetchcalldatadecoder",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Source",id:"source",level:3},{value:"generateAppSecret()",id:"generateappsecret",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Returns",id:"returns-1",level:3},{value:"Source",id:"source-1",level:3},{value:"getV()",id:"getv",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Returns",id:"returns-2",level:3},{value:"Source",id:"source-2",level:3},{value:"selectDefFrom4byteABI()",id:"selectdeffrom4byteabi",level:2},{value:"Parameters",id:"parameters-3",level:3},{value:"Returns",id:"returns-3",level:3},{value:"Source",id:"source-3",level:3}];function x(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.h1,{id:"util",children:"util"}),"\n",(0,l.jsx)(t.h2,{id:"fetchcalldatadecoder",children:"fetchCalldataDecoder()"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"fetchCalldataDecoder"}),"(",(0,l.jsx)(t.code,{children:"_data"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Uint8Array"}),", ",(0,l.jsx)(t.code,{children:"to"}),": ",(0,l.jsx)(t.code,{children:"string"}),", ",(0,l.jsx)(t.code,{children:"_chainId"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"number"}),", ",(0,l.jsx)(t.code,{children:"recurse"}),": ",(0,l.jsx)(t.code,{children:"boolean"}),"): ",(0,l.jsx)(t.code,{children:"Promise"}),"<{",(0,l.jsx)(t.code,{children:'"abi"'}),": ",(0,l.jsx)(t.code,{children:"any"}),";",(0,l.jsx)(t.code,{children:'"def"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }>"]}),"\n"]}),"\n",(0,l.jsxs)(t.p,{children:["Fetches calldata from a remote scanner based on the transaction's ",(0,l.jsx)(t.code,{children:"chainId"})]}),"\n",(0,l.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"_data"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Uint8Array"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"undefined"})})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"to"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"string"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"undefined"})})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"_chainId"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"number"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"undefined"})})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"recurse"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"boolean"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"true"})})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"returns",children:"Returns"}),"\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.code,{children:"Promise"}),"<{",(0,l.jsx)(t.code,{children:'"abi"'}),": ",(0,l.jsx)(t.code,{children:"any"}),";",(0,l.jsx)(t.code,{children:'"def"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }>"]}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Member"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Value"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"abi"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"any"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"-"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"def"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"source",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/util.ts#L582",children:"util.ts:582"})}),"\n",(0,l.jsx)(t.hr,{}),"\n",(0,l.jsx)(t.h2,{id:"generateappsecret",children:"generateAppSecret()"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"generateAppSecret"}),"(",(0,l.jsx)(t.code,{children:"deviceId"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"}),", ",(0,l.jsx)(t.code,{children:"password"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"}),", ",(0,l.jsx)(t.code,{children:"appName"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"}),"): ",(0,l.jsx)(t.code,{children:"Buffer"})]}),"\n"]}),"\n",(0,l.jsx)(t.p,{children:"Generates an application secret for use in maintaining connection to device."}),"\n",(0,l.jsx)(t.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"deviceId"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"The device ID of the device you want to generate a token for."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"password"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"The password entered when connecting to the device."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"appName"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"The name of the application."})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.code,{children:"Buffer"})}),"\n",(0,l.jsx)(t.p,{children:"an application secret as a Buffer"}),"\n",(0,l.jsx)(t.h3,{id:"source-1",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/util.ts#L654",children:"util.ts:654"})}),"\n",(0,l.jsx)(t.hr,{}),"\n",(0,l.jsx)(t.h2,{id:"getv",children:"getV()"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"getV"}),"(",(0,l.jsx)(t.code,{children:"tx"}),": ",(0,l.jsx)(t.code,{children:"any"}),", ",(0,l.jsx)(t.code,{children:"resp"}),": ",(0,l.jsx)(t.code,{children:"any"}),"): ",(0,l.jsx)(t.code,{children:"any"})]}),"\n"]}),"\n",(0,l.jsxs)(t.p,{children:["Generic signing does not return a ",(0,l.jsx)(t.code,{children:"v"})," value like legacy ETH signing requests did.\nGet the ",(0,l.jsx)(t.code,{children:"v"})," component of the signature as well as an ",(0,l.jsx)(t.code,{children:"initV"}),"\nparameter, which is what you need to use to re-create an ",(0,l.jsx)(t.code,{children:"@ethereumjs/tx"}),"\nobject. There is a lot of tech debt in ",(0,l.jsx)(t.code,{children:"@ethereumjs/tx"})," which also\ninherits the tech debt of ethereumjs-util."]}),"\n",(0,l.jsxs)(t.ol,{children:["\n",(0,l.jsxs)(t.li,{children:["The legacy ",(0,l.jsx)(t.code,{children:"Transaction"})," type can call ",(0,l.jsx)(t.code,{children:"_processSignature"})," with the regular\n",(0,l.jsx)(t.code,{children:"v"})," value."]}),"\n",(0,l.jsxs)(t.li,{children:["Newer transaction types such as ",(0,l.jsx)(t.code,{children:"FeeMarketEIP1559Transaction"})," will subtract\n27 from the ",(0,l.jsx)(t.code,{children:"v"})," that gets passed in, so we need to add ",(0,l.jsx)(t.code,{children:"27"})," to create ",(0,l.jsx)(t.code,{children:"initV"})]}),"\n"]}),"\n",(0,l.jsx)(t.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"tx"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"any"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"An @ethereumjs/tx Transaction object or Buffer (serialized tx)"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"resp"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"any"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"response from Lattice. Can be either legacy or generic signing variety"})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.code,{children:"any"})}),"\n",(0,l.jsxs)(t.p,{children:["bn.js BN object containing the ",(0,l.jsx)(t.code,{children:"v"})," param"]}),"\n",(0,l.jsx)(t.h3,{id:"source-2",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/util.ts#L689",children:"util.ts:689"})}),"\n",(0,l.jsx)(t.hr,{}),"\n",(0,l.jsx)(t.h2,{id:"selectdeffrom4byteabi",children:"selectDefFrom4byteABI()"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"selectDefFrom4byteABI"}),"(",(0,l.jsx)(t.code,{children:"abiData"}),": ",(0,l.jsx)(t.code,{children:"any"}),"[], ",(0,l.jsx)(t.code,{children:"selector"}),": ",(0,l.jsx)(t.code,{children:"string"}),"): ",(0,l.jsx)(t.code,{children:"any"})]}),"\n"]}),"\n",(0,l.jsx)(t.p,{children:"Takes a list of ABI data objects and a selector, and returns the earliest ABI data object that\nmatches the selector."}),"\n",(0,l.jsx)(t.h3,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"abiData"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"any"}),"[]"]})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"selector"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"string"})})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.code,{children:"any"})}),"\n",(0,l.jsx)(t.h3,{id:"source-3",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/util.ts#L362",children:"util.ts:362"})})]})}function o(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(x,{...e})}):x(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>d,x:()=>c});var l=s(6540);const n={},r=l.createContext(n);function d(e){const t=l.useContext(r);return l.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),l.createElement(r.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[745],{1755:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>d,default:()=>o,frontMatter:()=>r,metadata:()=>c,toc:()=>h});var l=s(4848),n=s(8453);const r={},d="util",c={id:"reference/util",title:"util",description:"fetchCalldataDecoder()",source:"@site/docs/reference/util.md",sourceDirName:"reference",slug:"/reference/util",permalink:"/gridplus-sdk/reference/util",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/util.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"constants",permalink:"/gridplus-sdk/reference/constants"}},i={},h=[{value:"fetchCalldataDecoder()",id:"fetchcalldatadecoder",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Source",id:"source",level:3},{value:"generateAppSecret()",id:"generateappsecret",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Returns",id:"returns-1",level:3},{value:"Source",id:"source-1",level:3},{value:"getV()",id:"getv",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Returns",id:"returns-2",level:3},{value:"Source",id:"source-2",level:3},{value:"selectDefFrom4byteABI()",id:"selectdeffrom4byteabi",level:2},{value:"Parameters",id:"parameters-3",level:3},{value:"Returns",id:"returns-3",level:3},{value:"Source",id:"source-3",level:3}];function x(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.h1,{id:"util",children:"util"}),"\n",(0,l.jsx)(t.h2,{id:"fetchcalldatadecoder",children:"fetchCalldataDecoder()"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"fetchCalldataDecoder"}),"(",(0,l.jsx)(t.code,{children:"_data"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Uint8Array"}),", ",(0,l.jsx)(t.code,{children:"to"}),": ",(0,l.jsx)(t.code,{children:"string"}),", ",(0,l.jsx)(t.code,{children:"_chainId"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"number"}),", ",(0,l.jsx)(t.code,{children:"recurse"}),": ",(0,l.jsx)(t.code,{children:"boolean"}),"): ",(0,l.jsx)(t.code,{children:"Promise"}),"<{",(0,l.jsx)(t.code,{children:'"abi"'}),": ",(0,l.jsx)(t.code,{children:"any"}),";",(0,l.jsx)(t.code,{children:'"def"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }>"]}),"\n"]}),"\n",(0,l.jsxs)(t.p,{children:["Fetches calldata from a remote scanner based on the transaction's ",(0,l.jsx)(t.code,{children:"chainId"})]}),"\n",(0,l.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"_data"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Uint8Array"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"undefined"})})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"to"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"string"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"undefined"})})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"_chainId"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"number"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"undefined"})})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"recurse"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"boolean"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"true"})})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"returns",children:"Returns"}),"\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.code,{children:"Promise"}),"<{",(0,l.jsx)(t.code,{children:'"abi"'}),": ",(0,l.jsx)(t.code,{children:"any"}),";",(0,l.jsx)(t.code,{children:'"def"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }>"]}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Member"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Value"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"abi"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"any"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"-"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"def"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"source",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/util.ts#L610",children:"util.ts:610"})}),"\n",(0,l.jsx)(t.hr,{}),"\n",(0,l.jsx)(t.h2,{id:"generateappsecret",children:"generateAppSecret()"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"generateAppSecret"}),"(",(0,l.jsx)(t.code,{children:"deviceId"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"}),", ",(0,l.jsx)(t.code,{children:"password"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"}),", ",(0,l.jsx)(t.code,{children:"appName"}),": ",(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"}),"): ",(0,l.jsx)(t.code,{children:"Buffer"})]}),"\n"]}),"\n",(0,l.jsx)(t.p,{children:"Generates an application secret for use in maintaining connection to device."}),"\n",(0,l.jsx)(t.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"deviceId"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"The device ID of the device you want to generate a token for."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"password"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"The password entered when connecting to the device."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"appName"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"string"})," | ",(0,l.jsx)(t.code,{children:"Buffer"})]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"The name of the application."})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.code,{children:"Buffer"})}),"\n",(0,l.jsx)(t.p,{children:"an application secret as a Buffer"}),"\n",(0,l.jsx)(t.h3,{id:"source-1",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/util.ts#L682",children:"util.ts:682"})}),"\n",(0,l.jsx)(t.hr,{}),"\n",(0,l.jsx)(t.h2,{id:"getv",children:"getV()"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"getV"}),"(",(0,l.jsx)(t.code,{children:"tx"}),": ",(0,l.jsx)(t.code,{children:"any"}),", ",(0,l.jsx)(t.code,{children:"resp"}),": ",(0,l.jsx)(t.code,{children:"any"}),"): ",(0,l.jsx)(t.code,{children:"any"})]}),"\n"]}),"\n",(0,l.jsxs)(t.p,{children:["Generic signing does not return a ",(0,l.jsx)(t.code,{children:"v"})," value like legacy ETH signing requests did.\nGet the ",(0,l.jsx)(t.code,{children:"v"})," component of the signature as well as an ",(0,l.jsx)(t.code,{children:"initV"}),"\nparameter, which is what you need to use to re-create an ",(0,l.jsx)(t.code,{children:"@ethereumjs/tx"}),"\nobject. There is a lot of tech debt in ",(0,l.jsx)(t.code,{children:"@ethereumjs/tx"})," which also\ninherits the tech debt of ethereumjs-util."]}),"\n",(0,l.jsxs)(t.ol,{children:["\n",(0,l.jsxs)(t.li,{children:["The legacy ",(0,l.jsx)(t.code,{children:"Transaction"})," type can call ",(0,l.jsx)(t.code,{children:"_processSignature"})," with the regular\n",(0,l.jsx)(t.code,{children:"v"})," value."]}),"\n",(0,l.jsxs)(t.li,{children:["Newer transaction types such as ",(0,l.jsx)(t.code,{children:"FeeMarketEIP1559Transaction"})," will subtract\n27 from the ",(0,l.jsx)(t.code,{children:"v"})," that gets passed in, so we need to add ",(0,l.jsx)(t.code,{children:"27"})," to create ",(0,l.jsx)(t.code,{children:"initV"})]}),"\n"]}),"\n",(0,l.jsx)(t.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"tx"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"any"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"An @ethereumjs/tx Transaction object or Buffer (serialized tx)"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"resp"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"any"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"response from Lattice. Can be either legacy or generic signing variety"})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.code,{children:"any"})}),"\n",(0,l.jsxs)(t.p,{children:["bn.js BN object containing the ",(0,l.jsx)(t.code,{children:"v"})," param"]}),"\n",(0,l.jsx)(t.h3,{id:"source-2",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/util.ts#L717",children:"util.ts:717"})}),"\n",(0,l.jsx)(t.hr,{}),"\n",(0,l.jsx)(t.h2,{id:"selectdeffrom4byteabi",children:"selectDefFrom4byteABI()"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.strong,{children:"selectDefFrom4byteABI"}),"(",(0,l.jsx)(t.code,{children:"abiData"}),": ",(0,l.jsx)(t.code,{children:"any"}),"[], ",(0,l.jsx)(t.code,{children:"selector"}),": ",(0,l.jsx)(t.code,{children:"string"}),"): ",(0,l.jsx)(t.code,{children:"any"})]}),"\n"]}),"\n",(0,l.jsx)(t.p,{children:"Takes a list of ABI data objects and a selector, and returns the earliest ABI data object that\nmatches the selector."}),"\n",(0,l.jsx)(t.h3,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"abiData"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,l.jsx)(t.code,{children:"any"}),"[]"]})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"selector"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"string"})})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.code,{children:"any"})}),"\n",(0,l.jsx)(t.h3,{id:"source-3",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/util.ts#L383",children:"util.ts:383"})})]})}function o(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(x,{...e})}):x(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>d,x:()=>c});var l=s(6540);const n={},r=l.createContext(n);function d(e){const t=l.useContext(r);return l.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),l.createElement(r.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/77dc7728.45c85fdf.js b/assets/js/77dc7728.45c85fdf.js
new file mode 100644
index 00000000..30bd3a8e
--- /dev/null
+++ b/assets/js/77dc7728.45c85fdf.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[366],{6469:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>d,contentTitle:()=>c,default:()=>p,frontMatter:()=>i,metadata:()=>l,toc:()=>a});var r=s(4848),n=s(8453);const i={},c="api/setup",l={id:"reference/api/setup",title:"api/setup",description:"setup()",source:"@site/docs/reference/api/setup.md",sourceDirName:"reference/api",slug:"/reference/api/setup",permalink:"/gridplus-sdk/reference/api/setup",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/api/setup.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"addresses",permalink:"/gridplus-sdk/reference/api/addresses"},next:{title:"wallets",permalink:"/gridplus-sdk/reference/api/wallets"}},d={},a=[{value:"setup()",id:"setup",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Source",id:"source",level:3}];function o(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"apisetup",children:"api/setup"}),"\n",(0,r.jsx)(t.h2,{id:"setup",children:"setup()"}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"setup"}),"(",(0,r.jsx)(t.code,{children:"params"}),": ",(0,r.jsx)(t.code,{children:"SetupParameters"}),"): ",(0,r.jsx)(t.code,{children:"Promise"}),"<",(0,r.jsx)(t.code,{children:"boolean"}),">"]}),"\n"]}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.code,{children:"setup"})," initializes the Client and executes ",(0,r.jsx)(t.code,{children:"connect()"})," if necessary. It returns a promise that\nresolves to a boolean that indicates whether the Client is paired to the application to which it's\nattempting to connect."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"params"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"SetupParameters"})})]})})]}),"\n",(0,r.jsx)(t.h3,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.code,{children:"Promise"}),"<",(0,r.jsx)(t.code,{children:"boolean"}),">"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:"a promise that resolves to a boolean that indicates whether the Client is paired to the application to which it's attempting to connect"}),"\n"]}),"\n",(0,r.jsx)(t.h3,{id:"source",children:"Source"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/api/setup.ts#L44",children:"api/setup.ts:44"})})]})}function p(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>c,x:()=>l});var r=s(6540);const n={},i=r.createContext(n);function c(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/77dc7728.f42d96ed.js b/assets/js/77dc7728.f42d96ed.js
deleted file mode 100644
index ef3f6f07..00000000
--- a/assets/js/77dc7728.f42d96ed.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[366],{6469:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>p,frontMatter:()=>i,metadata:()=>c,toc:()=>o});var r=s(4848),n=s(8453);const i={},l="api/setup",c={id:"reference/api/setup",title:"api/setup",description:"setup()",source:"@site/docs/reference/api/setup.md",sourceDirName:"reference/api",slug:"/reference/api/setup",permalink:"/gridplus-sdk/reference/api/setup",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/api/setup.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"addresses",permalink:"/gridplus-sdk/reference/api/addresses"},next:{title:"wallets",permalink:"/gridplus-sdk/reference/api/wallets"}},d={},o=[{value:"setup()",id:"setup",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Source",id:"source",level:3}];function a(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"apisetup",children:"api/setup"}),"\n",(0,r.jsx)(t.h2,{id:"setup",children:"setup()"}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"setup"}),"(",(0,r.jsx)(t.code,{children:"SetupParameters"}),": ",(0,r.jsx)(t.code,{children:"SetupParameters"}),"): ",(0,r.jsx)(t.code,{children:"Promise"}),"<",(0,r.jsx)(t.code,{children:"boolean"}),">"]}),"\n"]}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.code,{children:"setup"})," initializes the Client and executes ",(0,r.jsx)(t.code,{children:"connect()"})," if necessary. It returns a promise that\nresolves to a boolean that indicates whether the Client is paired to the application to which it's\nattempting to connect."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Parameter"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"SetupParameters"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"SetupParameters"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"paramaters for the setup function"})]})})]}),"\n",(0,r.jsx)(t.h3,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.code,{children:"Promise"}),"<",(0,r.jsx)(t.code,{children:"boolean"}),">"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:"a promise that resolves to a boolean that indicates whether the Client is paired to the application to which it's attempting to connect"}),"\n"]}),"\n",(0,r.jsx)(t.h3,{id:"source",children:"Source"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/api/setup.ts#L36",children:"api/setup.ts:36"})})]})}function p(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>l,x:()=>c});var r=s(6540);const n={},i=r.createContext(n);function l(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/a97d5e93.0af8bc27.js b/assets/js/a97d5e93.fd32340c.js
similarity index 86%
rename from assets/js/a97d5e93.0af8bc27.js
rename to assets/js/a97d5e93.fd32340c.js
index 7dca1965..e8b2903d 100644
--- a/assets/js/a97d5e93.0af8bc27.js
+++ b/assets/js/a97d5e93.fd32340c.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[562],{8712:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>l,contentTitle:()=>i,default:()=>o,frontMatter:()=>n,metadata:()=>c,toc:()=>a});var r=t(4848),d=t(8453);const n={},i="api/addresses",c={id:"reference/api/addresses",title:"api/addresses",description:"fetchAddress()",source:"@site/docs/reference/api/addresses.md",sourceDirName:"reference/api",slug:"/reference/api/addresses",permalink:"/gridplus-sdk/reference/api/addresses",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/api/addresses.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"addressTags",permalink:"/gridplus-sdk/reference/api/addressTags"},next:{title:"setup",permalink:"/gridplus-sdk/reference/api/setup"}},l={},a=[{value:"fetchAddress()",id:"fetchaddress",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Note",id:"note",level:3},{value:"Source",id:"source",level:3}];function h(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"apiaddresses",children:"api/addresses"}),"\n",(0,r.jsx)(s.h2,{id:"fetchaddress",children:"fetchAddress()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"fetchAddress"}),"(",(0,r.jsx)(s.code,{children:"path"}),": ",(0,r.jsx)(s.code,{children:"number"})," | ",(0,r.jsx)(s.code,{children:"WalletPath"}),"): ",(0,r.jsx)(s.code,{children:"Promise"}),"<",(0,r.jsx)(s.code,{children:"string"}),">"]}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Fetches a single address from the device."}),"\n",(0,r.jsx)(s.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Parameter"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"path"})}),(0,r.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,r.jsx)(s.code,{children:"number"})," | ",(0,r.jsx)(s.code,{children:"WalletPath"})]}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"0"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"either the index of ETH signing path or the derivation path to fetch"})]})})]}),"\n",(0,r.jsx)(s.h3,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"Promise"}),"<",(0,r.jsx)(s.code,{children:"string"}),">"]}),"\n",(0,r.jsx)(s.h3,{id:"note",children:"Note"}),"\n",(0,r.jsx)(s.p,{children:"By default, this function fetches m/44'/60'/0'/0/0"}),"\n",(0,r.jsx)(s.h3,{id:"source",children:"Source"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/api/addresses.ts#L55",children:"api/addresses.ts:55"})})]})}function o(e={}){const{wrapper:s}={...(0,d.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453:(e,s,t)=>{t.d(s,{R:()=>i,x:()=>c});var r=t(6540);const d={},n=r.createContext(d);function i(e){const s=r.useContext(n);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),r.createElement(n.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[562],{8712:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>c,contentTitle:()=>i,default:()=>o,frontMatter:()=>n,metadata:()=>l,toc:()=>a});var r=t(4848),d=t(8453);const n={},i="api/addresses",l={id:"reference/api/addresses",title:"api/addresses",description:"fetchAddress()",source:"@site/docs/reference/api/addresses.md",sourceDirName:"reference/api",slug:"/reference/api/addresses",permalink:"/gridplus-sdk/reference/api/addresses",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/api/addresses.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"addressTags",permalink:"/gridplus-sdk/reference/api/addressTags"},next:{title:"setup",permalink:"/gridplus-sdk/reference/api/setup"}},c={},a=[{value:"fetchAddress()",id:"fetchaddress",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Note",id:"note",level:3},{value:"Source",id:"source",level:3}];function h(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"apiaddresses",children:"api/addresses"}),"\n",(0,r.jsx)(s.h2,{id:"fetchaddress",children:"fetchAddress()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"fetchAddress"}),"(",(0,r.jsx)(s.code,{children:"path"}),": ",(0,r.jsx)(s.code,{children:"number"})," | ",(0,r.jsx)(s.code,{children:"WalletPath"}),"): ",(0,r.jsx)(s.code,{children:"Promise"}),"<",(0,r.jsx)(s.code,{children:"string"}),">"]}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Fetches a single address from the device."}),"\n",(0,r.jsx)(s.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Parameter"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"path"})}),(0,r.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,r.jsx)(s.code,{children:"number"})," | ",(0,r.jsx)(s.code,{children:"WalletPath"})]}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"0"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"either the index of ETH signing path or the derivation path to fetch"})]})})]}),"\n",(0,r.jsx)(s.h3,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"Promise"}),"<",(0,r.jsx)(s.code,{children:"string"}),">"]}),"\n",(0,r.jsx)(s.h3,{id:"note",children:"Note"}),"\n",(0,r.jsx)(s.p,{children:"By default, this function fetches m/44'/60'/0'/0/0"}),"\n",(0,r.jsx)(s.h3,{id:"source",children:"Source"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/api/addresses.ts#L61",children:"api/addresses.ts:61"})})]})}function o(e={}){const{wrapper:s}={...(0,d.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453:(e,s,t)=>{t.d(s,{R:()=>i,x:()=>l});var r=t(6540);const d={},n=r.createContext(d);function i(e){const s=r.useContext(n);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),r.createElement(n.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/aba37140.d707e3dd.js b/assets/js/aba37140.03218598.js
similarity index 99%
rename from assets/js/aba37140.d707e3dd.js
rename to assets/js/aba37140.03218598.js
index 1da83f5c..9abc9930 100644
--- a/assets/js/aba37140.d707e3dd.js
+++ b/assets/js/aba37140.03218598.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[814],{4690:(e,t,d)=>{d.r(t),d.d(t,{assets:()=>r,contentTitle:()=>n,default:()=>j,frontMatter:()=>s,metadata:()=>i,toc:()=>x});var l=d(4848),c=d(8453);const s={},n="constants",i={id:"reference/constants",title:"constants",description:"EXTERNAL",source:"@site/docs/reference/constants.md",sourceDirName:"reference",slug:"/reference/constants",permalink:"/gridplus-sdk/reference/constants",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/constants.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"wallets",permalink:"/gridplus-sdk/reference/api/wallets"},next:{title:"util",permalink:"/gridplus-sdk/reference/util"}},r={},x=[{value:"EXTERNAL",id:"external",level:2},{value:"Type declaration",id:"type-declaration",level:3},{value:"Source",id:"source",level:3}];function h(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,c.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.h1,{id:"constants",children:"constants"}),"\n",(0,l.jsx)(t.h2,{id:"external",children:"EXTERNAL"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.code,{children:"const"})," ",(0,l.jsx)(t.strong,{children:"EXTERNAL"}),": {",(0,l.jsx)(t.code,{children:'"ENC_DATA"'}),": {",(0,l.jsx)(t.code,{children:'"SCHEMAS"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_KEYSTORE_EIP2335_PBKDF_V4"'}),": ",(0,l.jsx)(t.code,{children:"LatticeEncDataSchema.eip2335"}),"; }; };",(0,l.jsx)(t.code,{children:'"ETH_CONSENSUS_SPEC"'}),": {",(0,l.jsx)(t.code,{children:'"DOMAINS"'}),": {",(0,l.jsx)(t.code,{children:'"DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"VOLUNTARY_EXIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; };",(0,l.jsx)(t.code,{children:'"NETWORKS"'}),": {",(0,l.jsx)(t.code,{children:'"MAINNET_GENESIS"'}),": {",(0,l.jsx)(t.code,{children:'"forkVersion"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"networkName"'}),": ",(0,l.jsx)(t.code,{children:"'mainnet'"}),";",(0,l.jsx)(t.code,{children:'"validatorsRoot"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }; }; };",(0,l.jsx)(t.code,{children:'"GET_ADDR_FLAGS"'}),": {",(0,l.jsx)(t.code,{children:'"BLS12_381_G1_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.bls12_381Pubkey"}),";",(0,l.jsx)(t.code,{children:'"ED25519_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.ed25519Pubkey"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.secp256k1Pubkey"}),"; };",(0,l.jsx)(t.code,{children:'"SIGNING"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_DST"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_DST_NUL"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.NUL"}),";",(0,l.jsx)(t.code,{children:'"BLS_DST_POP"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.POP"}),"; };",(0,l.jsx)(t.code,{children:'"CURVES"'}),": {",(0,l.jsx)(t.code,{children:'"BLS12_381_G2"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.bls12_381"}),";",(0,l.jsx)(t.code,{children:'"ED25519"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.ed25519"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.secp256k1"}),"; };",(0,l.jsx)(t.code,{children:'"ENCODINGS"'}),": {",(0,l.jsx)(t.code,{children:'"ETH_DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.eth_deposit"}),";",(0,l.jsx)(t.code,{children:'"EVM"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.evm"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.none"}),";",(0,l.jsx)(t.code,{children:'"SOLANA"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.solana"}),"; };",(0,l.jsx)(t.code,{children:'"HASHES"'}),": {",(0,l.jsx)(t.code,{children:'"KECCAK256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.keccak256"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.none"}),";",(0,l.jsx)(t.code,{children:'"SHA256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.sha256"}),"; }; }; }"]}),"\n"]}),"\n",(0,l.jsx)(t.p,{children:"Externally exported constants used for building requests"}),"\n",(0,l.jsx)(t.h3,{id:"type-declaration",children:"Type declaration"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Member"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Value"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ENC_DATA"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"SCHEMAS"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_KEYSTORE_EIP2335_PBKDF_V4"'}),": ",(0,l.jsx)(t.code,{children:"LatticeEncDataSchema.eip2335"}),"; }; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ENC_DATA.SCHEMAS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS_KEYSTORE_EIP2335_PBKDF_V4"'}),": ",(0,l.jsx)(t.code,{children:"LatticeEncDataSchema.eip2335"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ENC_DATA.SCHEMAS.BLS_KEYSTORE_EIP2335_PBKDF_V4"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"eip2335"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeEncDataSchema.eip2335"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"DOMAINS"'}),": {",(0,l.jsx)(t.code,{children:'"DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"VOLUNTARY_EXIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; };",(0,l.jsx)(t.code,{children:'"NETWORKS"'}),": {",(0,l.jsx)(t.code,{children:'"MAINNET_GENESIS"'}),": {",(0,l.jsx)(t.code,{children:'"forkVersion"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"networkName"'}),": ",(0,l.jsx)(t.code,{children:"'mainnet'"}),";",(0,l.jsx)(t.code,{children:'"validatorsRoot"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }; }; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.DOMAINS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"VOLUNTARY_EXIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.DOMAINS.DEPOSIT"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.DOMAINS.VOLUNTARY_EXIT"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"MAINNET_GENESIS"'}),": {",(0,l.jsx)(t.code,{children:'"forkVersion"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"networkName"'}),": ",(0,l.jsx)(t.code,{children:"'mainnet'"}),";",(0,l.jsx)(t.code,{children:'"validatorsRoot"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"forkVersion"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"networkName"'}),": ",(0,l.jsx)(t.code,{children:"'mainnet'"}),";",(0,l.jsx)(t.code,{children:'"validatorsRoot"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.forkVersion"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.networkName"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:'"mainnet"'})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"'mainnet'"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.validatorsRoot"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"GET_ADDR_FLAGS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS12_381_G1_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.bls12_381Pubkey"}),";",(0,l.jsx)(t.code,{children:'"ED25519_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.ed25519Pubkey"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.secp256k1Pubkey"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"GET_ADDR_FLAGS.BLS12_381_G1_PUB"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"bls12_381Pubkey"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeGetAddressesFlag.bls12_381Pubkey"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"GET_ADDR_FLAGS.ED25519_PUB"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ed25519Pubkey"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeGetAddressesFlag.ed25519Pubkey"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"GET_ADDR_FLAGS.SECP256K1_PUB"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"secp256k1Pubkey"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeGetAddressesFlag.secp256k1Pubkey"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS_DST"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_DST_NUL"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.NUL"}),";",(0,l.jsx)(t.code,{children:'"BLS_DST_POP"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.POP"}),"; };",(0,l.jsx)(t.code,{children:'"CURVES"'}),": {",(0,l.jsx)(t.code,{children:'"BLS12_381_G2"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.bls12_381"}),";",(0,l.jsx)(t.code,{children:'"ED25519"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.ed25519"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.secp256k1"}),"; };",(0,l.jsx)(t.code,{children:'"ENCODINGS"'}),": {",(0,l.jsx)(t.code,{children:'"ETH_DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.eth_deposit"}),";",(0,l.jsx)(t.code,{children:'"EVM"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.evm"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.none"}),";",(0,l.jsx)(t.code,{children:'"SOLANA"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.solana"}),"; };",(0,l.jsx)(t.code,{children:'"HASHES"'}),": {",(0,l.jsx)(t.code,{children:'"KECCAK256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.keccak256"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.none"}),";",(0,l.jsx)(t.code,{children:'"SHA256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.sha256"}),"; }; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.BLS_DST"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS_DST_NUL"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.NUL"}),";",(0,l.jsx)(t.code,{children:'"BLS_DST_POP"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.POP"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.BLS_DST.BLS_DST_NUL"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"NUL"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignBlsDst.NUL"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.BLS_DST.BLS_DST_POP"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"POP"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignBlsDst.POP"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.CURVES"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS12_381_G2"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.bls12_381"}),";",(0,l.jsx)(t.code,{children:'"ED25519"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.ed25519"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.secp256k1"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.CURVES.BLS12_381_G2"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"bls12_381"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignCurve.bls12_381"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.CURVES.ED25519"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ed25519"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignCurve.ed25519"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.CURVES.SECP256K1"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"secp256k1"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignCurve.secp256k1"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"ETH_DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.eth_deposit"}),";",(0,l.jsx)(t.code,{children:'"EVM"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.evm"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.none"}),";",(0,l.jsx)(t.code,{children:'"SOLANA"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.solana"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS.ETH_DEPOSIT"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"eth_deposit"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignEncoding.eth_deposit"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS.EVM"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"evm"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignEncoding.evm"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS.NONE"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"none"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignEncoding.none"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS.SOLANA"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"solana"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignEncoding.solana"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.HASHES"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"KECCAK256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.keccak256"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.none"}),";",(0,l.jsx)(t.code,{children:'"SHA256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.sha256"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.HASHES.KECCAK256"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"keccak256"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignHash.keccak256"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.HASHES.NONE"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"none"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignHash.none"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.HASHES.SHA256"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"sha256"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignHash.sha256"})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"source",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/constants.ts#L14",children:"constants.ts:14"})})]})}function j(e={}){const{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(h,{...e})}):h(e)}},8453:(e,t,d)=>{d.d(t,{R:()=>n,x:()=>i});var l=d(6540);const c={},s=l.createContext(c);function n(e){const t=l.useContext(s);return l.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:n(e.components),l.createElement(s.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[814],{4690:(e,t,d)=>{d.r(t),d.d(t,{assets:()=>r,contentTitle:()=>n,default:()=>j,frontMatter:()=>s,metadata:()=>i,toc:()=>x});var l=d(4848),c=d(8453);const s={},n="constants",i={id:"reference/constants",title:"constants",description:"EXTERNAL",source:"@site/docs/reference/constants.md",sourceDirName:"reference",slug:"/reference/constants",permalink:"/gridplus-sdk/reference/constants",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/constants.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"wallets",permalink:"/gridplus-sdk/reference/api/wallets"},next:{title:"util",permalink:"/gridplus-sdk/reference/util"}},r={},x=[{value:"EXTERNAL",id:"external",level:2},{value:"Type declaration",id:"type-declaration",level:3},{value:"Source",id:"source",level:3}];function h(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,c.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.h1,{id:"constants",children:"constants"}),"\n",(0,l.jsx)(t.h2,{id:"external",children:"EXTERNAL"}),"\n",(0,l.jsxs)(t.blockquote,{children:["\n",(0,l.jsxs)(t.p,{children:[(0,l.jsx)(t.code,{children:"const"})," ",(0,l.jsx)(t.strong,{children:"EXTERNAL"}),": {",(0,l.jsx)(t.code,{children:'"ENC_DATA"'}),": {",(0,l.jsx)(t.code,{children:'"SCHEMAS"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_KEYSTORE_EIP2335_PBKDF_V4"'}),": ",(0,l.jsx)(t.code,{children:"LatticeEncDataSchema.eip2335"}),"; }; };",(0,l.jsx)(t.code,{children:'"ETH_CONSENSUS_SPEC"'}),": {",(0,l.jsx)(t.code,{children:'"DOMAINS"'}),": {",(0,l.jsx)(t.code,{children:'"DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"VOLUNTARY_EXIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; };",(0,l.jsx)(t.code,{children:'"NETWORKS"'}),": {",(0,l.jsx)(t.code,{children:'"MAINNET_GENESIS"'}),": {",(0,l.jsx)(t.code,{children:'"forkVersion"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"networkName"'}),": ",(0,l.jsx)(t.code,{children:"'mainnet'"}),";",(0,l.jsx)(t.code,{children:'"validatorsRoot"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }; }; };",(0,l.jsx)(t.code,{children:'"GET_ADDR_FLAGS"'}),": {",(0,l.jsx)(t.code,{children:'"BLS12_381_G1_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.bls12_381Pubkey"}),";",(0,l.jsx)(t.code,{children:'"ED25519_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.ed25519Pubkey"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.secp256k1Pubkey"}),"; };",(0,l.jsx)(t.code,{children:'"SIGNING"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_DST"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_DST_NUL"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.NUL"}),";",(0,l.jsx)(t.code,{children:'"BLS_DST_POP"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.POP"}),"; };",(0,l.jsx)(t.code,{children:'"CURVES"'}),": {",(0,l.jsx)(t.code,{children:'"BLS12_381_G2"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.bls12_381"}),";",(0,l.jsx)(t.code,{children:'"ED25519"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.ed25519"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.secp256k1"}),"; };",(0,l.jsx)(t.code,{children:'"ENCODINGS"'}),": {",(0,l.jsx)(t.code,{children:'"ETH_DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.eth_deposit"}),";",(0,l.jsx)(t.code,{children:'"EVM"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.evm"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.none"}),";",(0,l.jsx)(t.code,{children:'"SOLANA"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.solana"}),"; };",(0,l.jsx)(t.code,{children:'"HASHES"'}),": {",(0,l.jsx)(t.code,{children:'"KECCAK256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.keccak256"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.none"}),";",(0,l.jsx)(t.code,{children:'"SHA256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.sha256"}),"; }; }; }"]}),"\n"]}),"\n",(0,l.jsx)(t.p,{children:"Externally exported constants used for building requests"}),"\n",(0,l.jsx)(t.h3,{id:"type-declaration",children:"Type declaration"}),"\n",(0,l.jsxs)(t.table,{children:[(0,l.jsx)(t.thead,{children:(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Member"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(t.th,{style:{textAlign:"left"},children:"Value"})]})}),(0,l.jsxs)(t.tbody,{children:[(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ENC_DATA"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"SCHEMAS"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_KEYSTORE_EIP2335_PBKDF_V4"'}),": ",(0,l.jsx)(t.code,{children:"LatticeEncDataSchema.eip2335"}),"; }; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ENC_DATA.SCHEMAS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS_KEYSTORE_EIP2335_PBKDF_V4"'}),": ",(0,l.jsx)(t.code,{children:"LatticeEncDataSchema.eip2335"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ENC_DATA.SCHEMAS.BLS_KEYSTORE_EIP2335_PBKDF_V4"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"eip2335"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeEncDataSchema.eip2335"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"DOMAINS"'}),": {",(0,l.jsx)(t.code,{children:'"DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"VOLUNTARY_EXIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; };",(0,l.jsx)(t.code,{children:'"NETWORKS"'}),": {",(0,l.jsx)(t.code,{children:'"MAINNET_GENESIS"'}),": {",(0,l.jsx)(t.code,{children:'"forkVersion"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"networkName"'}),": ",(0,l.jsx)(t.code,{children:"'mainnet'"}),";",(0,l.jsx)(t.code,{children:'"validatorsRoot"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }; }; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.DOMAINS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"VOLUNTARY_EXIT"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.DOMAINS.DEPOSIT"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.DOMAINS.VOLUNTARY_EXIT"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"MAINNET_GENESIS"'}),": {",(0,l.jsx)(t.code,{children:'"forkVersion"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"networkName"'}),": ",(0,l.jsx)(t.code,{children:"'mainnet'"}),";",(0,l.jsx)(t.code,{children:'"validatorsRoot"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"forkVersion"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),";",(0,l.jsx)(t.code,{children:'"networkName"'}),": ",(0,l.jsx)(t.code,{children:"'mainnet'"}),";",(0,l.jsx)(t.code,{children:'"validatorsRoot"'}),": ",(0,l.jsx)(t.code,{children:"Buffer"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.forkVersion"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.networkName"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:'"mainnet"'})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"'mainnet'"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.validatorsRoot"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"Buffer"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"GET_ADDR_FLAGS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS12_381_G1_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.bls12_381Pubkey"}),";",(0,l.jsx)(t.code,{children:'"ED25519_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.ed25519Pubkey"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1_PUB"'}),": ",(0,l.jsx)(t.code,{children:"LatticeGetAddressesFlag.secp256k1Pubkey"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"GET_ADDR_FLAGS.BLS12_381_G1_PUB"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"bls12_381Pubkey"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeGetAddressesFlag.bls12_381Pubkey"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"GET_ADDR_FLAGS.ED25519_PUB"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ed25519Pubkey"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeGetAddressesFlag.ed25519Pubkey"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"GET_ADDR_FLAGS.SECP256K1_PUB"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"secp256k1Pubkey"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeGetAddressesFlag.secp256k1Pubkey"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS_DST"'}),": {",(0,l.jsx)(t.code,{children:'"BLS_DST_NUL"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.NUL"}),";",(0,l.jsx)(t.code,{children:'"BLS_DST_POP"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.POP"}),"; };",(0,l.jsx)(t.code,{children:'"CURVES"'}),": {",(0,l.jsx)(t.code,{children:'"BLS12_381_G2"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.bls12_381"}),";",(0,l.jsx)(t.code,{children:'"ED25519"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.ed25519"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.secp256k1"}),"; };",(0,l.jsx)(t.code,{children:'"ENCODINGS"'}),": {",(0,l.jsx)(t.code,{children:'"ETH_DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.eth_deposit"}),";",(0,l.jsx)(t.code,{children:'"EVM"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.evm"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.none"}),";",(0,l.jsx)(t.code,{children:'"SOLANA"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.solana"}),"; };",(0,l.jsx)(t.code,{children:'"HASHES"'}),": {",(0,l.jsx)(t.code,{children:'"KECCAK256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.keccak256"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.none"}),";",(0,l.jsx)(t.code,{children:'"SHA256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.sha256"}),"; }; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.BLS_DST"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS_DST_NUL"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.NUL"}),";",(0,l.jsx)(t.code,{children:'"BLS_DST_POP"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignBlsDst.POP"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.BLS_DST.BLS_DST_NUL"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"NUL"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignBlsDst.NUL"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.BLS_DST.BLS_DST_POP"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"POP"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignBlsDst.POP"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.CURVES"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"BLS12_381_G2"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.bls12_381"}),";",(0,l.jsx)(t.code,{children:'"ED25519"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.ed25519"}),";",(0,l.jsx)(t.code,{children:'"SECP256K1"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignCurve.secp256k1"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.CURVES.BLS12_381_G2"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"bls12_381"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignCurve.bls12_381"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.CURVES.ED25519"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"ed25519"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignCurve.ed25519"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.CURVES.SECP256K1"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"secp256k1"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignCurve.secp256k1"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"ETH_DEPOSIT"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.eth_deposit"}),";",(0,l.jsx)(t.code,{children:'"EVM"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.evm"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.none"}),";",(0,l.jsx)(t.code,{children:'"SOLANA"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignEncoding.solana"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS.ETH_DEPOSIT"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"eth_deposit"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignEncoding.eth_deposit"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS.EVM"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"evm"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignEncoding.evm"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS.NONE"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"none"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignEncoding.none"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.ENCODINGS.SOLANA"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"solana"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignEncoding.solana"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.HASHES"})}),(0,l.jsxs)(t.td,{style:{textAlign:"left"},children:["{",(0,l.jsx)(t.code,{children:'"KECCAK256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.keccak256"}),";",(0,l.jsx)(t.code,{children:'"NONE"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.none"}),";",(0,l.jsx)(t.code,{children:'"SHA256"'}),": ",(0,l.jsx)(t.code,{children:"LatticeSignHash.sha256"}),"; }"]}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"..."})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.HASHES.KECCAK256"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"keccak256"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignHash.keccak256"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.HASHES.NONE"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"none"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignHash.none"})]}),(0,l.jsxs)(t.tr,{children:[(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"SIGNING.HASHES.SHA256"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:(0,l.jsx)(t.code,{children:"sha256"})}),(0,l.jsx)(t.td,{style:{textAlign:"left"},children:"LatticeSignHash.sha256"})]})]})]}),"\n",(0,l.jsx)(t.h3,{id:"source",children:"Source"}),"\n",(0,l.jsx)(t.p,{children:(0,l.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/constants.ts#L15",children:"constants.ts:15"})})]})}function j(e={}){const{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(h,{...e})}):h(e)}},8453:(e,t,d)=>{d.d(t,{R:()=>n,x:()=>i});var l=d(6540);const c={},s=l.createContext(c);function n(e){const t=l.useContext(s);return l.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:n(e.components),l.createElement(s.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/e1d32a16.de5ce1ca.js b/assets/js/e1d32a16.9a8c8db9.js
similarity index 74%
rename from assets/js/e1d32a16.de5ce1ca.js
rename to assets/js/e1d32a16.9a8c8db9.js
index 4af8fc2f..d135f072 100644
--- a/assets/js/e1d32a16.de5ce1ca.js
+++ b/assets/js/e1d32a16.9a8c8db9.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[872],{8830:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>u,frontMatter:()=>c,metadata:()=>i,toc:()=>o});var n=s(4848),r=s(8453);const c={},l="api/wallets",i={id:"reference/api/wallets",title:"api/wallets",description:"fetchActiveWallets()",source:"@site/docs/reference/api/wallets.md",sourceDirName:"reference/api",slug:"/reference/api/wallets",permalink:"/gridplus-sdk/reference/api/wallets",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/api/wallets.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"setup",permalink:"/gridplus-sdk/reference/api/setup"},next:{title:"constants",permalink:"/gridplus-sdk/reference/constants"}},a={},o=[{value:"fetchActiveWallets()",id:"fetchactivewallets",level:2},{value:"Returns",id:"returns",level:3},{value:"Source",id:"source",level:3}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"apiwallets",children:"api/wallets"}),"\n",(0,n.jsx)(t.h2,{id:"fetchactivewallets",children:"fetchActiveWallets()"}),"\n",(0,n.jsxs)(t.blockquote,{children:["\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.strong,{children:"fetchActiveWallets"}),"(): ",(0,n.jsx)(t.code,{children:"Promise"}),"<",(0,n.jsx)(t.code,{children:"ActiveWallets"}),">"]}),"\n"]}),"\n",(0,n.jsx)(t.p,{children:"Fetches the active wallets"}),"\n",(0,n.jsx)(t.h3,{id:"returns",children:"Returns"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"Promise"}),"<",(0,n.jsx)(t.code,{children:"ActiveWallets"}),">"]}),"\n",(0,n.jsx)(t.h3,{id:"source",children:"Source"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/c012d317f562432cecf6de52536c5f6286c2e51b/src/api/wallets.ts#L6",children:"api/wallets.ts:6"})})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>l,x:()=>i});var n=s(6540);const r={},c=n.createContext(r);function l(e){const t=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),n.createElement(c.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkgridplus_sdk_docs=self.webpackChunkgridplus_sdk_docs||[]).push([[872],{8830:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>l,metadata:()=>i,toc:()=>o});var n=s(4848),r=s(8453);const l={},c="api/wallets",i={id:"reference/api/wallets",title:"api/wallets",description:"fetchActiveWallets()",source:"@site/docs/reference/api/wallets.md",sourceDirName:"reference/api",slug:"/reference/api/wallets",permalink:"/gridplus-sdk/reference/api/wallets",draft:!1,unlisted:!1,editUrl:"https://github.com/gridplus/gridplus-sdk/docs/reference/api/wallets.md",tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"setup",permalink:"/gridplus-sdk/reference/api/setup"},next:{title:"constants",permalink:"/gridplus-sdk/reference/constants"}},a={},o=[{value:"fetchActiveWallets()",id:"fetchactivewallets",level:2},{value:"Returns",id:"returns",level:3},{value:"Source",id:"source",level:3}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"apiwallets",children:"api/wallets"}),"\n",(0,n.jsx)(t.h2,{id:"fetchactivewallets",children:"fetchActiveWallets()"}),"\n",(0,n.jsxs)(t.blockquote,{children:["\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.strong,{children:"fetchActiveWallets"}),"(): ",(0,n.jsx)(t.code,{children:"Promise"}),"<",(0,n.jsx)(t.code,{children:"ActiveWallets"}),">"]}),"\n"]}),"\n",(0,n.jsx)(t.p,{children:"Fetches the active wallets"}),"\n",(0,n.jsx)(t.h3,{id:"returns",children:"Returns"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"Promise"}),"<",(0,n.jsx)(t.code,{children:"ActiveWallets"}),">"]}),"\n",(0,n.jsx)(t.h3,{id:"source",children:"Source"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.a,{href:"https://github.com/GridPlus/gridplus-sdk/blob/ef5a007e5be1b8cc566cb1982572dba0b9bb6210/src/api/wallets.ts#L7",children:"api/wallets.ts:7"})})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>c,x:()=>i});var n=s(6540);const r={},l=n.createContext(r);function c(e){const t=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),n.createElement(l.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/runtime~main.2b324cd0.js b/assets/js/runtime~main.3d28ee53.js
similarity index 50%
rename from assets/js/runtime~main.2b324cd0.js
rename to assets/js/runtime~main.3d28ee53.js
index d1c95366..603cc7af 100644
--- a/assets/js/runtime~main.2b324cd0.js
+++ b/assets/js/runtime~main.3d28ee53.js
@@ -1 +1 @@
-(()=>{"use strict";var e,r,t,a,o,d={},n={};function c(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={id:e,loaded:!1,exports:{}};return d[e].call(t.exports,t,t.exports,c),t.loaded=!0,t.exports}c.m=d,c.c=n,e=[],c.O=(r,t,a,o)=>{if(!t){var d=1/0;for(u=0;u=o)&&Object.keys(c.O).every((e=>c.O[e](t[i])))?t.splice(i--,1):(n=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[t,a,o]},c.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return c.d(r,{a:r}),r},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var d={};r=r||[null,t({}),t([]),t(t)];for(var n=2&a&&e;"object"==typeof n&&!~r.indexOf(n);n=t(n))Object.getOwnPropertyNames(n).forEach((r=>d[r]=()=>e[r]));return d.default=()=>e,c.d(o,d),o},c.d=(e,r)=>{for(var t in r)c.o(r,t)&&!c.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((r,t)=>(c.f[t](e,r),r)),[])),c.u=e=>"assets/js/"+({48:"a94703ab",98:"a7bd4aaa",121:"0f1c7d78",133:"fbe93038",242:"1a3c9b31",285:"8b0a7e1b",366:"77dc7728",401:"17896441",562:"a97d5e93",634:"53dbd9bd",647:"5e95c892",742:"aba21aa0",745:"1191772f",770:"09aeabed",814:"aba37140",854:"0adb6e78",872:"e1d32a16",949:"f1e20ccf",976:"0e384e19"}[e]||e)+"."+{48:"def69a78",98:"c960ee4d",121:"6aafdeb3",133:"199e824f",237:"f0a508bc",242:"51244941",285:"9ad13828",366:"f42d96ed",401:"1a69fc8c",562:"0af8bc27",634:"773ce799",647:"42490de1",742:"4dfb54dc",745:"3f4a8263",770:"61e5673c",814:"d707e3dd",854:"05a901d5",872:"de5ce1ca",949:"efffc030",976:"51d5f7d8"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a={},o="gridplus-sdk-docs:",c.l=(e,r,t,d)=>{if(a[e])a[e].push(r);else{var n,i;if(void 0!==t)for(var f=document.getElementsByTagName("script"),u=0;u{n.onerror=n.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(t))),r)return r(t)},s=setTimeout(b.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=b.bind(null,n.onerror),n.onload=b.bind(null,n.onload),i&&document.head.appendChild(n)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/gridplus-sdk/",c.gca=function(e){return e={17896441:"401",a94703ab:"48",a7bd4aaa:"98","0f1c7d78":"121",fbe93038:"133","1a3c9b31":"242","8b0a7e1b":"285","77dc7728":"366",a97d5e93:"562","53dbd9bd":"634","5e95c892":"647",aba21aa0:"742","1191772f":"745","09aeabed":"770",aba37140:"814","0adb6e78":"854",e1d32a16:"872",f1e20ccf:"949","0e384e19":"976"}[e]||e,c.p+c.u(e)},(()=>{var e={354:0,869:0};c.f.j=(r,t)=>{var a=c.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(354|869)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>a=e[r]=[t,o]));t.push(a[2]=o);var d=c.p+c.u(r),n=new Error;c.l(d,(t=>{if(c.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var o=t&&("load"===t.type?"missing":t.type),d=t&&t.target&&t.target.src;n.message="Loading chunk "+r+" failed.\n("+o+": "+d+")",n.name="ChunkLoadError",n.type=o,n.request=d,a[1](n)}}),"chunk-"+r,r)}},c.O.j=r=>0===e[r];var r=(r,t)=>{var a,o,d=t[0],n=t[1],i=t[2],f=0;if(d.some((r=>0!==e[r]))){for(a in n)c.o(n,a)&&(c.m[a]=n[a]);if(i)var u=i(c)}for(r&&r(t);f{"use strict";var e,r,t,a,o,n={},d={};function c(e){var r=d[e];if(void 0!==r)return r.exports;var t=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(t.exports,t,t.exports,c),t.loaded=!0,t.exports}c.m=n,c.c=d,e=[],c.O=(r,t,a,o)=>{if(!t){var n=1/0;for(u=0;u=o)&&Object.keys(c.O).every((e=>c.O[e](t[i])))?t.splice(i--,1):(d=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[t,a,o]},c.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return c.d(r,{a:r}),r},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var n={};r=r||[null,t({}),t([]),t(t)];for(var d=2&a&&e;"object"==typeof d&&!~r.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((r=>n[r]=()=>e[r]));return n.default=()=>e,c.d(o,n),o},c.d=(e,r)=>{for(var t in r)c.o(r,t)&&!c.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((r,t)=>(c.f[t](e,r),r)),[])),c.u=e=>"assets/js/"+({48:"a94703ab",98:"a7bd4aaa",121:"0f1c7d78",133:"fbe93038",242:"1a3c9b31",285:"8b0a7e1b",366:"77dc7728",401:"17896441",562:"a97d5e93",634:"53dbd9bd",647:"5e95c892",742:"aba21aa0",745:"1191772f",770:"09aeabed",814:"aba37140",854:"0adb6e78",872:"e1d32a16",949:"f1e20ccf",976:"0e384e19"}[e]||e)+"."+{48:"def69a78",98:"c960ee4d",121:"dd214dac",133:"199e824f",237:"f0a508bc",242:"51244941",285:"9ad13828",366:"45c85fdf",401:"1a69fc8c",562:"fd32340c",634:"773ce799",647:"42490de1",742:"4dfb54dc",745:"690d9a98",770:"61e5673c",814:"03218598",854:"05a901d5",872:"9a8c8db9",949:"efffc030",976:"51d5f7d8"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a={},o="gridplus-sdk-docs:",c.l=(e,r,t,n)=>{if(a[e])a[e].push(r);else{var d,i;if(void 0!==t)for(var f=document.getElementsByTagName("script"),u=0;u{d.onerror=d.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(t))),r)return r(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),i&&document.head.appendChild(d)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/gridplus-sdk/",c.gca=function(e){return e={17896441:"401",a94703ab:"48",a7bd4aaa:"98","0f1c7d78":"121",fbe93038:"133","1a3c9b31":"242","8b0a7e1b":"285","77dc7728":"366",a97d5e93:"562","53dbd9bd":"634","5e95c892":"647",aba21aa0:"742","1191772f":"745","09aeabed":"770",aba37140:"814","0adb6e78":"854",e1d32a16:"872",f1e20ccf:"949","0e384e19":"976"}[e]||e,c.p+c.u(e)},(()=>{var e={354:0,869:0};c.f.j=(r,t)=>{var a=c.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(354|869)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>a=e[r]=[t,o]));t.push(a[2]=o);var n=c.p+c.u(r),d=new Error;c.l(n,(t=>{if(c.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var o=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;d.message="Loading chunk "+r+" failed.\n("+o+": "+n+")",d.name="ChunkLoadError",d.type=o,d.request=n,a[1](d)}}),"chunk-"+r,r)}},c.O.j=r=>0===e[r];var r=(r,t)=>{var a,o,n=t[0],d=t[1],i=t[2],f=0;if(n.some((r=>0!==e[r]))){for(a in d)c.o(d,a)&&(c.m[a]=d[a]);if(i)var u=i(c)}for(r&&r(t);f๐ Getting Started | GridPlus SDK
-
+
diff --git a/reference/api/addressTags/index.html b/reference/api/addressTags/index.html
index d8020351..667184a4 100644
--- a/reference/api/addressTags/index.html
+++ b/reference/api/addressTags/index.html
@@ -4,7 +4,7 @@
api/addressTags | GridPlus SDK
-
+
@@ -19,7 +19,7 @@