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

expirationTimestampSecs 支持自定义expired seconds #33

Open
wk3368 opened this issue Jul 22, 2021 · 0 comments
Open

expirationTimestampSecs 支持自定义expired seconds #33

wk3368 opened this issue Jul 22, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@wk3368
Copy link
Collaborator

wk3368 commented Jul 22, 2021

starcoinProvider.getSigner().sendUncheckedTransaction({
data: payloadInHex,
expiredSecs: 1000,
})

// expired after 12 hours since Unix Epoch
const expirationTimestampSecs = nowSeconds + 43200;

@jolestar jolestar added the help wanted Extra attention is needed label Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants