René's URL Explorer Experiment


Title: `writeCallFunction` fails with array parameters due to `value` field typed as String · Issue #117 · fireblocks/java-sdk · GitHub

Open Graph Title: `writeCallFunction` fails with array parameters due to `value` field typed as String · Issue #117 · fireblocks/java-sdk

X Title: `writeCallFunction` fails with array parameters due to `value` field typed as String · Issue #117 · fireblocks/java-sdk

Description: The ParameterWithValue.value field is typed as String, offering no obvious way to pass an array. If the array is serialized as JSON string it is serialized again, causing it to be double escaped. This causes 500 errors when calling contr...

Open Graph Description: The ParameterWithValue.value field is typed as String, offering no obvious way to pass an array. If the array is serialized as JSON string it is serialized again, causing it to be double escaped. T...

X Description: The ParameterWithValue.value field is typed as String, offering no obvious way to pass an array. If the array is serialized as JSON string it is serialized again, causing it to be double escaped. T...

Opengraph URL: https://github.com/fireblocks/java-sdk/issues/117

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`writeCallFunction` fails with array parameters due to `value` field typed as String","articleBody":"The `ParameterWithValue.value` field is typed as `String`, offering no obvious way to pass an array. \n\nIf the array is serialized as JSON string it is serialized again, causing it to be double escaped. This causes 500 errors when calling contract functions with array parameters.\n\n## Environment\n- Fireblocks Java SDK version: 13.0.0.\n- Java: 21\n\n## Reproduction\n```kotlin\n// Kotlin\nval addresses = listOf(\"0x2838a9dcc507c5ea4f07ca68a15ec53d1e5911a0\", \"0x07c5fb2c857fca6b53856c6e30556a865858d167\")\nval dto = WriteCallFunctionDto(\n    vaultAccountId,\n    WriteCallFunctionDtoAbiFunction(\n        WriteAbiFunction(\n            WriteAbiFunction.StateMutabilityEnum.NONPAYABLE,\n            WriteAbiFunction.TypeEnum.FUNCTION,\n            listOf(\n                ParameterWithValue(\"accounts\", \"address[]\").apply {\n                    value = objectMapper.writeValueAsString(addresses)\n                },\n            ),\n        ).apply {\n            name = \"batchAddBlacklist\"\n            outputs = listOf()\n        },\n    ),\n)\nclient.contractInteractions().writeCallFunction(dto, contractAddress, assetId, idempotencyKey)\n```\n\n## Actual Behavior\nThe `value` field is serialized as an escaped JSON string:\n```json\n{\n  \"inputs\": [{\n    \"name\": \"accounts\",\n    \"type\": \"address[]\",\n    \"value\": \"[\\\"0xabc...\\\",\\\"0xdef...\\\"]\"\n  }]\n}\n```\n\n## Expected Behavior\nThe `value` field should be a native JSON array:\n```json\n{\n  \"inputs\": [{\n    \"name\": \"accounts\",\n    \"type\": \"address[]\",\n    \"value\": [\"0xabc...\", \"0xdef...\"]\n  }]\n}\n```\n\n## Root Cause\n`ParameterWithValue.value` is typed as `String`, forcing array values to be double-serialized.\n\n## Solution\nChange `ParameterWithValue.value` from `String` to `Object` to support both primitive values and complex types (arrays, objects).\n\n## Workaround\nRaw HTTP requests with manually constructed JSON work correctly, but that is sidestepping the whole SDK.","author":{"url":"https://github.com/febeling","@type":"Person","name":"febeling"},"datePublished":"2025-12-01T14:03:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/117/java-sdk/issues/117"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:464c49d6-0b8b-e1b9-6a5e-e702e9d5904d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC264:3D4482:6E99DD8:96746A7:698D1C71
html-safe-noncea735e3510cf26810f37d8231d28724ef4571db8700ad8020d27d2c933b0610c8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjY0OjNENDQ4Mjo2RTk5REQ4Ojk2NzQ2QTc6Njk4RDFDNzEiLCJ2aXNpdG9yX2lkIjoiMzExNTAxNTI0NDY4Nzk0MDcyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacca8dccd330e7e04b4eb2e8b6f41b32300fb462fc5c0273f55af9c3059c833eb6
hovercard-subject-tagissue:3681165507
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fireblocks/java-sdk/117/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2021e06c5c800020a47000e9569f692845a49e9c89375d5b4d1ba01412f39551/fireblocks/java-sdk/issues/117
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2021e06c5c800020a47000e9569f692845a49e9c89375d5b4d1ba01412f39551/fireblocks/java-sdk/issues/117
og:image:altThe ParameterWithValue.value field is typed as String, offering no obvious way to pass an array. If the array is serialized as JSON string it is serialized again, causing it to be double escaped. T...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefebeling
hostnamegithub.com
expected-hostnamegithub.com
Nonec25395580e1e3bf82d705e0982a1b24255366088720fef945f1493d5e3e67954
turbo-cache-controlno-preview
go-importgithub.com/fireblocks/java-sdk git https://github.com/fireblocks/java-sdk.git
octolytics-dimension-user_id40918269
octolytics-dimension-user_loginfireblocks
octolytics-dimension-repository_id653280893
octolytics-dimension-repository_nwofireblocks/java-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id653280893
octolytics-dimension-repository_network_root_nwofireblocks/java-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release94219dcb9c044792ec271fd5b23c73419858bef7
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/fireblocks/java-sdk/issues/117#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffireblocks%2Fjava-sdk%2Fissues%2F117
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffireblocks%2Fjava-sdk%2Fissues%2F117
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=fireblocks%2Fjava-sdk
Reloadhttps://patch-diff.githubusercontent.com/fireblocks/java-sdk/issues/117
Reloadhttps://patch-diff.githubusercontent.com/fireblocks/java-sdk/issues/117
Reloadhttps://patch-diff.githubusercontent.com/fireblocks/java-sdk/issues/117
fireblocks https://patch-diff.githubusercontent.com/fireblocks
java-sdkhttps://patch-diff.githubusercontent.com/fireblocks/java-sdk
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffireblocks%2Fjava-sdk
Fork 5 https://patch-diff.githubusercontent.com/login?return_to=%2Ffireblocks%2Fjava-sdk
Star 15 https://patch-diff.githubusercontent.com/login?return_to=%2Ffireblocks%2Fjava-sdk
Code https://patch-diff.githubusercontent.com/fireblocks/java-sdk
Issues 11 https://patch-diff.githubusercontent.com/fireblocks/java-sdk/issues
Pull requests 6 https://patch-diff.githubusercontent.com/fireblocks/java-sdk/pulls
Actions https://patch-diff.githubusercontent.com/fireblocks/java-sdk/actions
Projects 0 https://patch-diff.githubusercontent.com/fireblocks/java-sdk/projects
Security 0 https://patch-diff.githubusercontent.com/fireblocks/java-sdk/security
Insights https://patch-diff.githubusercontent.com/fireblocks/java-sdk/pulse
Code https://patch-diff.githubusercontent.com/fireblocks/java-sdk
Issues https://patch-diff.githubusercontent.com/fireblocks/java-sdk/issues
Pull requests https://patch-diff.githubusercontent.com/fireblocks/java-sdk/pulls
Actions https://patch-diff.githubusercontent.com/fireblocks/java-sdk/actions
Projects https://patch-diff.githubusercontent.com/fireblocks/java-sdk/projects
Security https://patch-diff.githubusercontent.com/fireblocks/java-sdk/security
Insights https://patch-diff.githubusercontent.com/fireblocks/java-sdk/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/fireblocks/java-sdk/issues/117
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/fireblocks/java-sdk/issues/117
writeCallFunction fails with array parameters due to value field typed as Stringhttps://patch-diff.githubusercontent.com/fireblocks/java-sdk/issues/117#top
https://github.com/febeling
https://github.com/febeling
febelinghttps://github.com/febeling
on Dec 1, 2025https://github.com/fireblocks/java-sdk/issues/117#issue-3681165507
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.