Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check if the vechain-sdk-js uses POST /accounts #1604

Open
Tracked by #1601
victhorbi opened this issue Dec 19, 2024 · 1 comment
Open
Tracked by #1601

check if the vechain-sdk-js uses POST /accounts #1604

victhorbi opened this issue Dec 19, 2024 · 1 comment

Comments

@victhorbi
Copy link
Collaborator

No description provided.

@leszek-vechain
Copy link
Collaborator

Does not seem like we support this methods:

packages/network/src/utils/thorest/thorest.ts

    accounts: {
        get: {
            ACCOUNT_DETAIL: (address: string): string => `/accounts/${address}`,
            ACCOUNT_BYTECODE: (address: string): string =>
                `/accounts/${address}/code`,
            STORAGE_AT: (address: string, position: string): string =>
                `/accounts/${address}/storage/${position}`
        },
        post: {
            SIMULATE_TRANSACTION: (revision?: string): string => {
                return revision != null
                    ? `/accounts/*?revision=${revision}`
                    : `/accounts/*`;
            }
        }
    },

same in here:

packages/network/src/thor-client/accounts/AccountsModule.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants